diff options
Diffstat (limited to 'pbs-help')
-rwxr-xr-x | pbs-help | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -13,7 +13,10 @@ master_usage() { echo "Usage: ${stem} COMMAND [OPTIONS]" echo echo "Commands:" - list_commands | sed 's/^/ /' + list_commands | while read -r cmd; do + help="$("$stem-$cmd" -h|sed -n 2p)" + printf ' %-20s %s\n' "$cmd" "$help" + done } help_usage() { |