diff options
-rwxr-xr-x | uristart | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,6 +10,8 @@ ASKUSER="choose" check=dont +eval "$(printf "%s\n" "$1" | uricut | sed 's/^/export URI/;s/'\''/'\''\\'\'''\''/;s/: /='\''/g;s/$/'\''/')" + uristart_config=~/.config/uristart.conf usage() { @@ -43,7 +45,7 @@ if [ "$verbose" ];then echo "uristart: other:" "$@" >&2 fi -if [ ! "$@" ];then +if [ ! "$*" ];then usage >&2 #to stderr because it is an error to not have any extra args to process exit 1 fi |