mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
cli: Add new features from CLI.
use `.HelpName` for template to pass down proper command names. Also treat flags to be optional in all of them.
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ DESCRIPTION:
|
||||
{{.Description}}
|
||||
|
||||
USAGE:
|
||||
minio {{if .VisibleFlags}}[flags] {{end}}command{{if .VisibleFlags}}{{end}} [arguments...]
|
||||
{{.HelpName}} {{if .VisibleFlags}}[FLAGS] {{end}}COMMAND{{if .VisibleFlags}}{{end}} [ARGS...]
|
||||
|
||||
COMMANDS:
|
||||
{{range .VisibleCommands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}}
|
||||
|
||||
Reference in New Issue
Block a user