From 09f38991acefae12ae755e21eaf3b068eb18a78a Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 21 Jan 2015 20:11:17 +0000 Subject: [PATCH] replace command by swarm in usage Signed-off-by: Victor Vieux --- help.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help.go b/help.go index 8ac640b1fe..cf06c4ab2c 100644 --- a/help.go +++ b/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: