Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/cobra.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,4 +518,4 @@ Run '{{.CommandPath}} COMMAND --help' for more information on a command.
`

const helpTemplate = `
{{if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}}`
{{- if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}}`
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Usage: docker helloworld goodbye

Say Goodbye instead of Hello
1 change: 0 additions & 1 deletion e2e/cli-plugins/testdata/docker-help-helloworld.golden
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Usage: docker helloworld [OPTIONS] COMMAND

A basic Hello World plugin for tests
Expand Down
1 change: 0 additions & 1 deletion e2e/stack/testdata/stack-deploy-help.golden
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Usage: docker stack deploy [OPTIONS] STACK

Deploy a new stack or update an existing stack
Expand Down
Loading