From 54013450b4309a81a74ff594ba7b8f5a78314e40 Mon Sep 17 00:00:00 2001 From: ayakael Date: Fri, 4 May 2018 12:19:19 -0700 Subject: [PATCH] [parser] Another attempt at dealing with options parsing --- src/parser | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/parser b/src/parser index 7b36d17..208b2fc 100644 --- a/src/parser +++ b/src/parser @@ -27,7 +27,10 @@ while true; do shift GIT_DIR="${1}" shift - return + ;; + + *) + return 2 ;; esac