diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-13 22:31:46 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-13 22:31:46 (EDT) |
commit | 04e2c00d4fbed0559e36a6787c81c15f6860e873 (patch) | |
tree | 6bd4200447bcd6e92ceba3a8c982dc8f41f289c1 /src | |
parent | af526ff43c81257b7938b487ead7469630d675a3 (diff) |
_parse_control_error(): Reformat file info
Diffstat (limited to 'src')
-rw-r--r-- | src/control.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |