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

@@ -37,17 +37,17 @@ const (
var pruneFlags = []cli.Flag{
cli.BoolFlag{
Name: "async",
Usage: "allow garbage collection to cleanup asynchronously",
Usage: "Allow garbage collection to cleanup asynchronously",
},
cli.BoolFlag{
Name: "dry",
Usage: "just show updates without applying (enables debug logging)",
Usage: "Just show updates without applying (enables debug logging)",
},
}
var pruneCommand = cli.Command{
Name: "prune",
Usage: "prunes content from the content store",
Usage: "Prunes content from the content store",
Subcommands: cli.Commands{
pruneReferencesCommand,
},
@@ -55,7 +55,7 @@ var pruneCommand = cli.Command{
var pruneReferencesCommand = cli.Command{
Name: "references",
Usage: "prunes preference labels from the content store (layers only by default)",
Usage: "Prunes preference labels from the content store (layers only by default)",
Flags: pruneFlags,
Action: func(clicontext *cli.Context) error {
client, ctx, cancel, err := commands.NewClient(clicontext)