bin/pegjs: Fix help wrapping

All help text should be wrapped at column 80.
redux
David Majda 11 years ago
parent e8a68e91e0
commit d013016717

@ -14,8 +14,8 @@ function printVersion() {
function printHelp() {
util.puts("Usage: pegjs [options] [--] [<input_file>] [<output_file>]");
util.puts("");
util.puts("Generates a parser from the PEG grammar specified in the <input_file> and");
util.puts("writes it to the <output_file>.");
util.puts("Generates a parser from the PEG grammar specified in the <input_file> and writes");
util.puts("it to the <output_file>.");
util.puts("");
util.puts("If the <output_file> is omitted, its name is generated by changing the");
util.puts("<input_file> extension to \".js\". If both <input_file> and <output_file> are");
@ -30,8 +30,8 @@ function printHelp() {
util.puts(" parser will be allowed to start parsing");
util.puts(" from (default: the first rule in the");
util.puts(" grammar)");
util.puts(" -o, --optimize <goal> select optimization for speed or size (default:");
util.puts(" speed)");
util.puts(" -o, --optimize <goal> select optimization for speed or size");
util.puts(" (default: speed)");
util.puts(" --plugin <plugin> use a specified plugin (can be specified");
util.puts(" multiple times)");
util.puts(" -v, --version print version information and exit");

Loading…
Cancel
Save