Skip to content
Snippets Groups Projects
Commit 0adac834 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Kernel] remove obsolete and unused Cmdline.String_list

parent ee4a22eb
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,6 @@ type option_setting =
| Unit of (unit -> unit)
| Int of (int -> unit)
| String of (string -> unit)
| String_list of (string list -> unit)
exception Cannot_parse of string * string
let raise_error name because = raise (Cannot_parse(name, because))
......@@ -310,10 +309,6 @@ let parse known_options_list then_expected options_list =
check_string_argname ();
f arg;
true
| String_list f ->
check_string_argname ();
f (Str.split (Str.regexp "[ \t]*,[ \t]*") arg);
true
in
unknown_options, use_arg && not explicit, true
with Not_found ->
......@@ -896,7 +891,6 @@ let low_print_option_help fmt print_invisible o =
| Unit _ -> ""
| Int _ -> " <n>"
| String _ -> " <s>"
| String_list _ -> " <s1, ..., sn>"
else
" <" ^ s ^ ">"
in
......
......@@ -270,7 +270,6 @@ type option_setting =
| Unit of (unit -> unit)
| Int of (int -> unit)
| String of (string -> unit)
| String_list of (string list -> unit)
val add_option:
string ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment