Correctly fail if extra arguments are supplied

This commit is contained in:
Louis Gesbert 2024-02-15 17:45:04 +01:00
parent 18ec4b3dd3
commit 5128da2ebe

View File

@ -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)."