[#250] implement -- option

This commit is contained in:
Michiel Borkent 2020-01-31 17:23:22 +01:00
parent c8d9c1ee5f
commit 6abff1dbdd

View file

@ -43,6 +43,7 @@
(if options
(let [opt (first options)]
(case opt
("--") (assoc opts-map :command-line-args (next options))
("--version") {:version true}
("--help" "-h" "-?") {:help? true}
("--verbose")(recur (next options)