aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Commandline.mli
diff options
context:
space:
mode:
Diffstat (limited to 'driver/Commandline.mli')
-rw-r--r--driver/Commandline.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/Commandline.mli b/driver/Commandline.mli
index 79786678..5f9d8704 100644
--- a/driver/Commandline.mli
+++ b/driver/Commandline.mli
@@ -33,6 +33,8 @@ type action =
| Self of (string -> unit) (** call the function with the matched string *)
| String of (string -> unit) (** read next arg as a string, call function *)
| Integer of (int -> unit) (** read next arg as an int, call function *)
+ | Ignore (** ignore the arg *)
+ | Unit of (unit -> unit) (** call the function with unit as argument *)
val parse_cmdline: (pattern * action) list -> unit