Changes in src/main.cc [372b6d3:3830c84]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cc
r372b6d3 r3830c84 9 9 // Author : Peter Buhr and Rob Schluntz 10 10 // Created On : Fri May 15 23:12:02 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Mon Apr 10 21:12:17202313 // Update Count : 68 211 // Last Modified By : Andrew Beach 12 // Last Modified On : Thr Feb 16 10:08:00 2023 13 // Update Count : 680 14 14 // 15 15 … … 504 504 505 505 506 static const char optstring[] = ":c:gh ilLmNnpdP:S:twW:D:";506 static const char optstring[] = ":c:ghlLmNnpdP:S:twW:D:"; 507 507 508 508 enum { PreludeDir = 128 }; … … 511 511 { "gdb", no_argument, nullptr, 'g' }, 512 512 { "help", no_argument, nullptr, 'h' }, 513 { "invariant", no_argument, nullptr, 'i' },514 513 { "libcfa", no_argument, nullptr, 'l' }, 515 514 { "linemarks", no_argument, nullptr, 'L' }, 516 { "no-main", no_argument, nullptr, 'm' },515 { "no-main", no_argument, 0, 'm' }, 517 516 { "no-linemarks", no_argument, nullptr, 'N' }, 518 517 { "no-prelude", no_argument, nullptr, 'n' }, … … 533 532 "wait for gdb to attach", // -g 534 533 "print translator help message", // -h 535 "invariant checking during AST passes", // -i536 534 "generate libcfa.c", // -l 537 535 "generate line marks", // -L … … 627 625 usage( argv ); // no return 628 626 break; 629 case 'i': // invariant checking630 invariant = true;631 break;632 627 case 'l': // generate libcfa.c 633 628 libcfap = true;
Note: See TracChangeset
for help on using the changeset viewer.