File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 41
41
| Unit_clear of bool ref
42
42
43
43
type spec =
44
+ | Unit_dummy
44
45
| Unit of unit_action
45
46
| String of string_action
46
47
@@ -128,6 +129,7 @@ let parse_exn ~usage ~argv ?(start=1) ?(finish=Array.length argv) (speclist : t
128
129
match Ext_spec. assoc3 speclist s with
129
130
| Some action -> begin
130
131
begin match action with
132
+ | Unit_dummy -> ()
131
133
| Unit r ->
132
134
begin match r with
133
135
| Unit_set r -> r := true
Original file line number Diff line number Diff line change @@ -34,7 +34,12 @@ type unit_action =
34
34
| Unit_lazy of unit lazy_t
35
35
| Unit_set of bool ref
36
36
| Unit_clear of bool ref
37
- type spec = Unit of unit_action | String of string_action
37
+
38
+
39
+ type spec =
40
+ | Unit_dummy
41
+ | Unit of unit_action
42
+ | String of string_action
38
43
39
44
40
45
type t = (string * spec * string ) array
Original file line number Diff line number Diff line change @@ -502,6 +502,8 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
502
502
" -warn-help" , unit_call Warnings. help_warnings,
503
503
" Show description of warning numbers" ;
504
504
505
+ " -c" , Unit_dummy ,
506
+ " *internal* keep the compatibility with RLS"
505
507
|]
506
508
507
509
You can’t perform that action at this time.
0 commit comments