X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/88dc47b049d19ca62dd29ec9d594b8a8dc858f40..d946b07817ffe6e156c159e7fc6270322413e530:/vcsh?ds=sidebyside diff --git a/vcsh b/vcsh index 6a81343..0b4c452 100755 --- a/vcsh +++ b/vcsh @@ -351,6 +351,7 @@ use() { } which() { + [ -e "$VCSH_COMMAND_PARAMETER" ] || fatal "'$VCSH_COMMAND_PARAMETER' does not exist" 1 for VCSH_REPO_NAME in $(list); do for VCSH_FILE in $(get_files); do echo "$VCSH_FILE" | grep -q "$VCSH_COMMAND_PARAMETER" && echo "$VCSH_REPO_NAME: $VCSH_FILE"