keep the uppercase letter for flag info

Signed-off-by: yulng <wei.yang@daocloud.io>
This commit is contained in:
yulng
2023-01-19 17:40:45 +08:00
parent 94934e1a47
commit 757b8f702b
43 changed files with 217 additions and 217 deletions

View File

@@ -33,15 +33,15 @@ var checkpointCommand = cli.Command{
Flags: []cli.Flag{
cli.BoolFlag{
Name: "rw",
Usage: "include the rw layer in the checkpoint",
Usage: "Include the rw layer in the checkpoint",
},
cli.BoolFlag{
Name: "image",
Usage: "include the image in the checkpoint",
Usage: "Include the image in the checkpoint",
},
cli.BoolFlag{
Name: "task",
Usage: "checkpoint container task",
Usage: "Checkpoint container task",
},
},
Action: func(context *cli.Context) error {

View File

@@ -99,7 +99,7 @@ var listCommand = cli.Command{
Flags: []cli.Flag{
cli.BoolFlag{
Name: "quiet, q",
Usage: "print only the container id",
Usage: "Print only the container id",
},
},
Action: func(context *cli.Context) error {
@@ -153,7 +153,7 @@ var deleteCommand = cli.Command{
Flags: []cli.Flag{
cli.BoolFlag{
Name: "keep-snapshot",
Usage: "do not clean up snapshot with container",
Usage: "Do not clean up snapshot with container",
},
},
Action: func(context *cli.Context) error {
@@ -251,7 +251,7 @@ var infoCommand = cli.Command{
Flags: []cli.Flag{
cli.BoolFlag{
Name: "spec",
Usage: "only display the spec",
Usage: "Only display the spec",
},
},
Action: func(context *cli.Context) error {

View File

@@ -36,11 +36,11 @@ var restoreCommand = cli.Command{
Flags: []cli.Flag{
cli.BoolFlag{
Name: "rw",
Usage: "restore the rw layer from the checkpoint",
Usage: "Restore the rw layer from the checkpoint",
},
cli.BoolFlag{
Name: "live",
Usage: "restore the runtime and memory data from the checkpoint",
Usage: "Restore the runtime and memory data from the checkpoint",
},
},
Action: func(context *cli.Context) error {