Ignore commands with _ for help

This commit is contained in:
rwxrob 2021-08-10 13:56:47 -04:00
parent 6827a1ad55
commit 6f9e6000b5
No known key found for this signature in database
GPG Key ID: 1CCACEDD2F65578E
1 changed files with 1 additions and 0 deletions

View File

@ -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