From dc2bdbc36646f2cdbbdd1997126118feb7a656ba Mon Sep 17 00:00:00 2001 From: Salvatore Ferrucci Date: Wed, 11 Apr 2018 14:30:31 +0200 Subject: [PATCH] remove ls from command's help (#3157) --- plugins/00_dokku-standard/commands | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/00_dokku-standard/commands b/plugins/00_dokku-standard/commands index fc68f680f..12d024e66 100755 --- a/plugins/00_dokku-standard/commands +++ b/plugins/00_dokku-standard/commands @@ -1,14 +1,13 @@ #!/usr/bin/env bash -[[ " help help:help ls:help run:help trace:help url:help urls:help version:help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT" +[[ " help help:help run:help trace:help url:help urls:help version:help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT" set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x case "$1" in - help|ls:help|run:help|trace:help|url:help|urls:help|version:help) + help|run:help|trace:help|url:help|urls:help|version:help) [[ $(echo "$1" | sed '/.*:help/!d') ]] && help_topic="${1%\:help}" help_content_func () { declare desc="return standard plugin help content" cat< , Run a command in a new container using the current application image trace [on/off], Enable dokku tracing url , Show the first URL for an application (compatibility)