Updated usage for peglint.

pull/13/head
yhirose 9 years ago
parent 8ce03face0
commit 30da6961d4
  1. 2
      lint/README.md
  2. 2
      lint/peglint.cc

@ -4,5 +4,5 @@ peglint
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]
```

@ -58,7 +58,7 @@ int main(int argc, const char** argv)
}
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;
}

Loading…
Cancel
Save