mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Correctly fail if extra arguments are supplied
This commit is contained in:
parent
18ec4b3dd3
commit
5128da2ebe
@ -159,7 +159,7 @@ module Flags = struct
|
||||
| _ -> assert false )
|
||||
in
|
||||
required
|
||||
& pos ~rev:true 0 (some converter) None
|
||||
& pos 0 (some converter) None
|
||||
& Arg.info [] ~docv:"FILE" ~docs:Manpage.s_arguments
|
||||
~doc:"Catala master file to be compiled ($(b,-) for stdin)."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user