refactor: standardize help generation

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-02-10 00:37:00 -05:00
1 parent be5ea845fc
commit ef7894fdfa
67 files changed
+816 -603

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ import (
const (
helpHeader = `Usage: dokku resource[:COMMAND]
Manages resource settings for an app
Manage resource settings for an app
Additional commands:`
@@ -43,7 +43,7 @@ func main() {
if err == nil && strings.Contains(string(output), "--all") {
fmt.Println(helpContent)
} else {
fmt.Print("\n resource, Manages resource settings for an app\n")
fmt.Print("\n resource, Manage resource settings for an app\n")
}
default:
dokkuNotImplementExitCode, err := strconv.Atoi(os.Getenv("DOKKU_NOT_IMPLEMENTED_EXIT"))