- {"debug", 0, &debugflag, 1},
- {"defines", 0, &definesflag, 1},
- {"file-prefix", 1, 0, 'b'},
- {"fixed-output-files", 0, &fixed_outfiles, 1},
- {"help", 0, 0, 'h'},
- {"name-prefix", 1, 0, 'p'}, /* was 'a'; apparently unused -wjh */
- {"no-lines", 0, &nolinesflag, 1},
- {"no-parser", 0, &noparserflag, 1},
- {"output", 1, 0, 'o'},
- {"output-file", 1, 0, 'o'},
- {"raw", 0, &rawtoknumflag, 1},
- {"token-table", 0, &toknumflag, 1},
- {"verbose", 0, &verboseflag, 1},
- {"version", 0, 0, 'V'},
- {"yacc", 0, &fixed_outfiles, 1},
+ /* Operation modes. */
+ {"help", no_argument, 0, 'h'},
+ {"version", no_argument, 0, 'V'},
+ {"yacc", no_argument, 0, 'y'},
+ {"fixed-output-files",no_argument, 0, 'y'},
+
+ /* Parser. */
+ {"skeleton", required_argument, 0, 'S'},
+ {"debug", no_argument, 0, 'd'},
+ {"locations", no_argument, &locations_flag, 1},
+ /* was 'a'; apparently unused -wjh */
+ {"name-prefix", required_argument, 0, 'p'},
+ {"no-lines", no_argument, 0, 'l'},
+ {"no-parser", no_argument, 0, 'n'},
+ {"raw", no_argument, 0, 'r'},
+ {"token-table", no_argument, 0, 'k'},
+
+ /* Output. */
+ {"defines", no_argument, 0, 'd'},
+ {"verbose", no_argument, 0, 'v'},
+ {"file-prefix", required_argument, 0, 'b'},
+ {"output-file", required_argument, 0, 'o'},
+ {"graph", no_argument, 0, 'g'},
+
+ /* Hidden. */
+ {"statistics", no_argument, &statistics_flag, 1},