commit 2a420fbe7c7644832019eab00f04a27f0b005530 parent c5bc5fdc9868ce322ccd91fe643d4282f15e0a4e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 2 Feb 2021 13:46:37 +0100 plumb: show program name in error messages Diffstat:
M | .local/bin/plumb | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -16,7 +16,7 @@ show_help() { } die() { - printf 'error: %s\n' "$1" >&2 + printf '%s: error: %s\n' "${0##*/}" "$1" >&2 exit 1 }