From 302406456f95ecc0ed9749a3486daea6787e05b5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 28 Aug 2016 01:09:49 -0400 Subject: [PATCH] Make dokku help friendlier --- commands | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/commands b/commands index 1a90dd9..05f5042 100755 --- a/commands +++ b/commands @@ -79,7 +79,6 @@ case "$1" in "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/subcommands/unlink" "$@" ;; - help | $PLUGIN_COMMAND_PREFIX:help) help_content_func() { # shellcheck disable=SC2034 @@ -126,8 +125,12 @@ help_list echo '' echo 'Additional commands:' help_content_func | sort | column -c2 -t -s, - else + elif [[ $(ps -o command= $PPID) == *"--all"* ]]; then help_content_func + else + cat<