Skip to content

Commit

Permalink
missing branch
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus committed Jul 4, 2024
1 parent 44c4559 commit 8a515f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lambdaisland/cli.clj
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@
(map (fn [[flagstr flagopts]]
(let [flagopts (if (var? flagopts)
{:doc (:doc (meta flagopts))
:handler flagopts})]
:handler flagopts}
flagopts)]
[flagstr (parse-flagstr flagstr (if (string? flagopts) {:doc flagopts} flagopts))]))
(coerce-to-pairs flagstrs))))

Expand Down

0 comments on commit 8a515f3

Please sign in to comment.