diff options
-rw-r--r-- | src/clojure/contrib/command_line.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/command_line.clj b/src/clojure/contrib/command_line.clj index 8a179c1d..466dd7a7 100644 --- a/src/clojure/contrib/command_line.clj +++ b/src/clojure/contrib/command_line.clj @@ -26,7 +26,7 @@ defaults (into {} (for [[_ {:keys [default sym]}] key-data :when default] [sym default]))] - (loop [[argkey & [argval :as r]] (if (seq args) args ["--help"]) + (loop [[argkey & [argval :as r]] args cmdmap (assoc defaults :cmdspec cmdspec rest-str [])] (if argkey (let [[_ & [keybase]] (re-find #"^--?(.*)" argkey)] |