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<