Sync ops.md, update CLI --help output to be consistent in descriptions

Signed-off-by: Alex Rodriguez <alexrodriguez@ibm.com>
This commit is contained in:
Alex Rodriguez
2023-10-30 08:32:30 -07:00
parent 332fbd907e
commit 124d3a20a6
4 changed files with 29 additions and 8 deletions

View File

@@ -55,6 +55,14 @@ func init() {
cli.VersionPrinter = func(c *cli.Context) {
fmt.Println(c.App.Name, version.Package, c.App.Version)
}
cli.VersionFlag = cli.BoolFlag{
Name: "version, v",
Usage: "Print the version",
}
cli.HelpFlag = cli.BoolFlag{
Name: "help, h",
Usage: "Show help",
}
}
// New returns a *cli.App instance.