From 04e2c00d4fbed0559e36a6787c81c15f6860e873 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 13 Apr 2019 22:31:46 -0400 Subject: _parse_control_error(): Reformat file info --- (limited to 'src') diff --git a/src/control.sh b/src/control.sh index cec08ce..1aab978 100644 --- a/src/control.sh +++ b/src/control.sh @@ -31,10 +31,10 @@ _parse_control_error() if [ ${line_nr} -eq 0 ]; then file_info="$(printf '%s' "${file}")" else - file_info="$(printf '%s(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