@@ -20,17 +20,6 @@ let usage_msg="\
20
20
USAGE: l2c [options] <source.ast>
21
21
22
22
options:
23
- -save-temp: Save temporary intermediate files
24
- -coq-parser: Validated parser by coq
25
- -ctemp: Output ctemp source
26
- -print-parse: Print parse output
27
- -target_dir <dir>: Set the directory of target files to <dir>
28
- -display <file>: Set the gui specification of l2c display mode
29
- -print-display: Print parsed display model
30
- -o <file>: Indicate the output file name
31
- -version: Print version information
32
- -help: Print this usage message
33
-
34
23
" ;;
35
24
36
25
let flag_save_temp = ref false ;;
@@ -43,16 +32,14 @@ let display_file = ref "";;
43
32
let flag_print_display = ref false ;;
44
33
45
34
let options = [
46
- (" -save-temp" , Set flag_save_temp, " Save temporary immediate files" );
47
- (" -coq-parser" , Set flag_coq_parser, " Validated parser by coq" );
48
- (" -ctemp" , Set flag_ctemp, " Output ctemp source" );
49
- (" -print-parse" , Set flag_print_parse, " Print parse output" );
50
- (" -display" , Set_string display_file, " The specification file of the l2c display mode" );
51
- (" -print-display" , Set flag_print_display, " Print parsed output of display model" );
52
- (" -target_dir" , Set_string target_dir, " The directory of generated target files" );
53
- (" -o" , Set_string output_file, " Indicate the output file name" );
54
- (" -version" , Unit (fun() ->(print_string version_msg)), " Print version information" );
55
- (" -help" , Unit (fun() ->(print_string usage_msg)), " Print this usage message" );
35
+ (" -save-temp" , Set flag_save_temp, " Save temporary immediate files" );
36
+ (" -coq-parser" , Set flag_coq_parser, " Validated parser by coq" );
37
+ (" -ctemp" , Set flag_ctemp, " Output ctemp source" );
38
+ (" -print-parse" , Set flag_print_parse, " Print parse output" );
39
+ (" -display" , Set_string display_file, " <file> The specification file of the l2c display mode" );
40
+ (" -print-display" , Set flag_print_display, " Print parsed output of display model" );
41
+ (" -target_dir" , Set_string target_dir, " <dir> The directory of generated target files" );
42
+ (" -o" , Set_string output_file, " <file> Indicate the output file name" );
43
+ (" -version" , Unit (fun() ->(print_string version_msg)), " Print version information" );
44
+ (" -help" , Unit (fun() ->(print_string usage_msg)), " Print this usage message" );
56
45
];;
57
-
58
-
0 commit comments