From 072eb15aaa8868399056b7e4057fc5d50e95c317 Mon Sep 17 00:00:00 2001 From: emma Date: Sun, 19 Nov 2023 14:53:50 -0700 Subject: [PATCH] fixed argv0 in $YTPICK error message --- yt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt b/yt index 4f8bcd7..889d715 100755 --- a/yt +++ b/yt @@ -173,7 +173,7 @@ FMT='%(title)s – %(channel)s (%(duration>%H:%M:%S)s) [%(webpage_url)s]' WBAPI='https://archive.org/wayback/available?url=' if test -z "$YTPICK"; then - printf "%s: \$YTPICK unset." 1>&2 + printf "%s: Please set \$YTPICK to your preferred picking tool." "$argv0" 1>&2 exit 78 # sysexits.h(3) EX_CONFIG fi