From 14510e8e8055636a93a8cf3c302f89bd464d3ea3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 12 Oct 2013 09:53:48 -0400 Subject: Print option arguments in help output. --- (limited to 'lib/cmd') diff --git a/lib/cmd/help.sh b/lib/cmd/help.sh index 733e9ed..e186663 100644 --- a/lib/cmd/help.sh +++ b/lib/cmd/help.sh @@ -33,9 +33,7 @@ cmd_help_main() printf "$(get_msg 'cmd_help_head')\n\n" "${0}" printf "$(get_msg 'cmd_help_opts_head')\n" - for opt in h V b; do - printf ' -%c %s\n' "${opt}" "$(get_msg "cmd_help_opt_${opt}")" - done + print_opt_summaries 'hVb:' printf '\n' printf "$(get_msg 'cmd_help_summary_head')\n" -- cgit v0.9.1