Skip to content

Commit 0b068a5

Browse files
committed
cmd/image: update save command usage string
Show proper syntax with flags and image arguments in help text. Fixes: #4397 Signed-off-by: ChengyuZhu6 <[email protected]>
1 parent 7564040 commit 0b068a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/nerdctl/image/image_save.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232

3333
func SaveCommand() *cobra.Command {
3434
var cmd = &cobra.Command{
35-
Use: "save",
35+
Use: "save [flags] IMAGE [IMAGE...]",
3636
Args: cobra.MinimumNArgs(1),
3737
Short: "Save one or more images to a tar archive (streamed to STDOUT by default)",
3838
Long: "The archive implements both Docker Image Spec v1.2 and OCI Image Spec v1.0.",

0 commit comments

Comments
 (0)