Updated usage for peglint.

This commit is contained in:
yhirose 2015-11-29 23:19:09 -05:00
parent 8ce03face0
commit 30da6961d4
2 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,5 @@ peglint
The lint utility for PEG. The lint utility for PEG.
``` ```
usage: peglint [--ast] [--optimize_ast_nodes|--opt] [--server [PORT=1234]] [--trace] [grammar file path] [source file path] usage: peglint [--ast] [--optimize_ast_nodes|--opt] [--server [PORT]] [--trace] [grammar file path] [source file path]
``` ```

View File

@ -58,7 +58,7 @@ int main(int argc, const char** argv)
} }
if ((path_list.empty() && !opt_server) || opt_help) { if ((path_list.empty() && !opt_server) || opt_help) {
cerr << "usage: peglint [--ast] [--optimize_ast_nodes|--opt] [--server [PORT=1234]] [--trace] [grammar file path] [source file path]" << endl; cerr << "usage: peglint [--ast] [--optimize_ast_nodes|--opt] [--server [PORT]] [--trace] [grammar file path] [source file path]" << endl;
return 1; return 1;
} }