mirror of https://github.com/docker/docs.git
replace command by swarm in usage
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
3fe99c7067
commit
09f38991ac
2
help.go
2
help.go
|
|
@ -7,7 +7,7 @@ func init() {
|
|||
cli.CommandHelpTemplate = `{{$DISCOVERY := or (eq .Name "manage") (eq .Name "join") (eq .Name "list")}}NAME:
|
||||
{{.Name}} - {{.Usage}}
|
||||
USAGE:
|
||||
command {{.Name}}{{if .Flags}} [command options]{{end}} {{if $DISCOVERY}}[discovery]{{end}}{{if .Description}}
|
||||
swarm {{.Name}}{{if .Flags}} [command options]{{end}} {{if $DISCOVERY}}[discovery]{{end}}{{if .Description}}
|
||||
DESCRIPTION:
|
||||
{{.Description}}{{end}}{{if $DISCOVERY}}
|
||||
ARGUMENTS:
|
||||
|
|
|
|||
Loading…
Reference in New Issue