summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/cmd.sh2
-rw-r--r--locale/en_US/pro_archman.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/cmd.sh b/lib/cmd.sh
index 1df69bd..40bb992 100644
--- a/lib/cmd.sh
+++ b/lib/cmd.sh
@@ -64,7 +64,7 @@ print_cmd_usage()
usage="$(get_msg "cmd_${cmd}_usage")"
- printf 'Usage: %s %s %s\n' "${0}" "${cmd}" "${usage}"
+ printf "$(get_msg 'cmd_usage')\n" "${0}" "${cmd}" "${usage}"
}
is_cmd()
diff --git a/locale/en_US/pro_archman.sh b/locale/en_US/pro_archman.sh
index a62aa7d..4e0acc6 100644
--- a/locale/en_US/pro_archman.sh
+++ b/locale/en_US/pro_archman.sh
@@ -20,6 +20,7 @@
msg_pro_archman_cmd_not_found='Command "%s" not found'
msg_pro_archman_usage='Usage: %s <command>'
msg_pro_archman_summary_head='Where <command> is one of:'
+msg_pro_archman_cmd_usage='Usage: %s %s %s'
msg_pro_archman_cmd_help_summary='print this help message'
msg_pro_archman_cmd_help_usage='[<command>]'
msg_pro_archman_cmd_include_summary='include packages described in changes files'