[config] fix help output
* `dokku:help --all` was getting mangled * `dokku config:help` wasn't working
This commit is contained in:
1 parent
4bb221d89a
commit
061ea9bfd7
1 file changed
+3
-2
@@ -43,8 +43,9 @@ func main() {
|
||||
merged := args.Bool("merged", false, "--merged: display the app's envionment merged with the global environment")
|
||||
args.Parse(os.Args[2:])
|
||||
config.CommandShow(args.Args(), *global, *shell, *export, *merged)
|
||||
case "config:help":
|
||||
case "help":
|
||||
fmt.Print(helpContent)
|
||||
case "config:help":
|
||||
usage()
|
||||
default:
|
||||
dokkuNotImplementExitCode, err := strconv.Atoi(os.Getenv("DOKKU_NOT_IMPLEMENTED_EXIT"))
|
||||
@@ -59,7 +60,7 @@ func main() {
|
||||
func usage() {
|
||||
config := columnize.DefaultConfig()
|
||||
config.Delim = ","
|
||||
config.Prefix = "\t"
|
||||
config.Prefix = " "
|
||||
config.Empty = ""
|
||||
content := strings.Split(helpContent, "\n")[1:]
|
||||
fmt.Println(helpHeader)
|
||||
|
||||
Reference in new issue
Block a user