Remove preceding white space from cobra help template

Signed-off-by: thelovekesh <lovekesh.kumar@rtcamp.com>
Signed-off-by: Lovekesh Kumar <lovekesh.kumar@rtcamp.com>
This commit is contained in:
thelovekesh 2025-01-08 21:38:01 +05:30 committed by Sebastiaan van Stijn
parent 7a72f38947
commit 61a3b4bd50
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
4 changed files with 1 additions and 4 deletions

View File

@ -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}}`

View File

@ -1,4 +1,3 @@
Usage: docker helloworld goodbye
Say Goodbye instead of Hello

View File

@ -1,4 +1,3 @@
Usage: docker helloworld [OPTIONS] COMMAND
A basic Hello World plugin for tests

View File

@ -1,4 +1,3 @@
Usage: docker stack deploy [OPTIONS] STACK
Deploy a new stack or update an existing stack