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-02-10 10:51:25 +01:00
committed by Sebastiaan van Stijn
parent 7a72f38947
commit 61a3b4bd50
4 changed files with 1 additions and 4 deletions
+1 -1
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}}`
@@ -1,4 +1,3 @@
Usage: docker helloworld goodbye
Say Goodbye instead of Hello
@@ -1,4 +1,3 @@
Usage: docker helloworld [OPTIONS] COMMAND
A basic Hello World plugin for tests
-1
View File
@@ -1,4 +1,3 @@
Usage: docker stack deploy [OPTIONS] STACK
Deploy a new stack or update an existing stack