From 6f9e6000b587e39564485fe1b825a514b17af69f Mon Sep 17 00:00:00 2001 From: rwxrob Date: Tue, 10 Aug 2021 13:56:47 -0400 Subject: [PATCH] Ignore commands with _ for help --- command | 1 + 1 file changed, 1 insertion(+) diff --git a/command b/command index 3ac459a..551e8d8 100755 --- a/command +++ b/command @@ -74,6 +74,7 @@ command_help() { local name="$1" if [[ -z "$name" ]];then for c in "${COMMANDS[@]}";do + [[ ${c:0:1} = _ ]] && continue; command_help "$c" buildonly done command_help main