Skip to content

Commit

Permalink
edge case, todo add test
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jan 2, 2024
1 parent 74b278c commit 64a8c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/babashka/cli.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
(is-option? (first args)))
parse-opts (deep-merge opts kwm)
{:keys [args opts]} (if should-parse-args?
(parse-args args parse-opts)
(parse-args args (update parse-opts :exec-args merge all-opts))
{:args args
:opts {}})
[arg & rest] args
Expand Down

0 comments on commit 64a8c3b

Please sign in to comment.