You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/peggy-cli.js
+8-4
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ class PeggyCLI extends Command {
191
191
)
192
192
.addOption(newOption(
193
193
"-T, --test-file <filename>",
194
-
"Test the parser with the contents of the given file, outputting the result of running the parser instead of the parser itself. If the input to be tested is not parsed, the CLI will exit with code 2"
194
+
"Test the parser with the contents of the given file, outputting the result of running the parser instead of the parser itself. If the input to be tested is not parsed, the CLI will exit with code 2. A filename of '-' will read from stdin."
195
195
).conflicts("test"))
196
196
.option("--trace","Enable tracing in generated parser",false)
197
197
.addOption(
@@ -548,9 +548,13 @@ class PeggyCLI extends Command {
0 commit comments