diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cmd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,7 +68,7 @@ print_cmd_summaries() else printf ' %-20s ' "${cmd}" fi - summary="$(eval printf \'%s\' \"\$\{cmd_"${cmd}"_summary\}\")" + summary="$(get_msg "cmd_${cmd}_summary")" printf '%s\n' "${summary}" | fold -s -w 56 | \ sed "2,\$s/^/${padding}/;" done @@ -80,7 +80,7 @@ print_cmd_usage() cmd="${1}" - usage="$(eval printf \'%s\' \"\$\{cmd_"${cmd}"_usage\}\")" + usage="$(get_msg "cmd_${cmd}_usage")" printf 'Usage: %s %s %s\n' "${0}" "${cmd}" "${usage}" } |