mirror of https://github.com/docker/docs.git
Fix up some whitespace nits
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
parent
d97dfa69f9
commit
9196d3e1d4
10
main.go
10
main.go
|
|
@ -12,8 +12,7 @@ import (
|
||||||
"github.com/docker/machine/version"
|
"github.com/docker/machine/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
var AppHelpTemplate = `
|
var AppHelpTemplate = `Usage: {{.Name}} {{if .Flags}}[OPTIONS] {{end}}COMMAND [arg...]
|
||||||
Usage: {{.Name}} {{if .Flags}}[OPTIONS] {{end}}COMMAND [arg...]
|
|
||||||
|
|
||||||
{{.Usage}}
|
{{.Usage}}
|
||||||
|
|
||||||
|
|
@ -32,8 +31,7 @@ Commands:
|
||||||
Run '{{.Name}} COMMAND --help' for more information on a command.
|
Run '{{.Name}} COMMAND --help' for more information on a command.
|
||||||
`
|
`
|
||||||
|
|
||||||
var CommandHelpTemplate = `
|
var CommandHelpTemplate = `Usage: docker-machine {{.Name}}{{if .Flags}} [OPTIONS]{{end}} [arg...]
|
||||||
Usage: docker-machine {{.Name}}{{if .Flags}} [OPTIONS]{{end}} [arg...]
|
|
||||||
|
|
||||||
{{.Usage}}{{if .Description}}
|
{{.Usage}}{{if .Description}}
|
||||||
|
|
||||||
|
|
@ -41,8 +39,8 @@ Description:
|
||||||
{{.Description}}{{end}}{{if .Flags}}
|
{{.Description}}{{end}}{{if .Flags}}
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
{{range .Flags}}{{.}}
|
{{range .Flags}}
|
||||||
{{end}}{{ end }}
|
{{.}}{{end}}{{ end }}
|
||||||
`
|
`
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue