From 82ad2287a0c66396e2d3b46c39cc0ee93f9db00d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 23 Apr 2019 16:00:31 -0400 Subject: _parse_control_error(): Reformat file info --- diff --git a/src/control.sh b/src/control.sh index 38ba841..79f7278 100644 --- a/src/control.sh +++ b/src/control.sh @@ -27,12 +27,12 @@ _parse_control_error() local file_info= if [ ${line_nr} -eq 0 ]; then - file_info="$(printf '%20s:' "${file}")" + file_info="$(printf '%s' "${file}")" else - file_info="$(printf '%20s(l%d):' "${file}" "${line_nr}")" + file_info="$(printf '%s:%d' "${file}" "${line_nr}")" fi - warn "${file_info} $(get_msg "${msg_id}")" "${@}" + warn "${file_info}: $(get_msg "${msg_id}")" "${@}" return 0 } -- cgit v0.9.1