Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cmdliner_cline.ml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ let parse_opt_args
in
let cline = Cmdliner_def.Cline.add arg_info arg cline in
loop errs (k + 1) comp cline pargs args
| Error `Not_found when for_completion ->
| Error (`Not_found | `Ambiguous) when for_completion ->
if not is_completion then
(* Drop the data, if the user thought this was an opt with
an argument this may confuse positional args but there's
Expand Down