diff --git a/nope b/nope index fa79926..bea3375 100755 --- a/nope +++ b/nope @@ -13,7 +13,12 @@ Flags: EOF } -case "$@" in +if ! [ -f "$1" ] ; then + echo "File does not exist!" + exit 1 +fi + +case "$1" in --help) usage exit 1