diff options
author | Teddy <[email protected]> | 2014-03-25 18:36:57 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2014-03-25 18:36:57 +0800 |
commit | bebc7300ad6987e76db8fca785a83123ba08a927 (patch) | |
tree | 8ca74cbe8f4a709332e2de4a6ceb150c50c9d4bd | |
parent | 546a8dd1f1129bb74f6e07c1d22366ccf8506ad3 (diff) |
...
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ int main(int argc, char **argv) { { case 0: break; case 'a': mode = PRINT_AST; break; - case 'h': mode = PRINT_HELP; break; + case 'h': print_help(); return 0; } } if (optind == argc - 1) |