use uppercase letters for flag usage

Signed-off-by: panguicai008 <guicai.pan@daocloud.io>
This commit is contained in:
panguicai008
2023-03-08 11:23:15 +08:00
parent 29e10a192a
commit 5c9c630c33
38 changed files with 84 additions and 84 deletions

View File

@@ -87,7 +87,7 @@ func parseMountFlag(m string) (specs.Mount, error) {
// Command runs a container
var Command = cli.Command{
Name: "run",
Usage: "run a container",
Usage: "Run a container",
ArgsUsage: "[flags] Image|RootFS ID [COMMAND] [ARG...]",
SkipArgReorder: true,
Flags: append([]cli.Flag{

View File

@@ -36,7 +36,7 @@ import (
var platformRunFlags = []cli.Flag{
cli.BoolFlag{
Name: "isolated",
Usage: "run the container with vm isolation",
Usage: "Run the container with vm isolation",
},
}