From 5f1c306273d961a5e3b2b7dff36d7c3a7e53fe56 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 22 Jul 2024 21:35:32 -0400 Subject: [PATCH] Update CLI usage in README --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b39a28b..dac2cff 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,14 @@ Propane is typically invoked from the command-line as `./propane`. Usage: ./propane [options] Options: - --log LOG Write log file - --version Show program version and exit - -h, --help Show this usage and exit + -h, --help Show this usage and exit. + --log LOG Write log file. This will show all parser states and their + associated shifts and reduces. It can be helpful when + debugging a grammar. + --version Show program version and exit. + -w Treat warnings as errors. This option will treat shift/reduce + conflicts as fatal errors and will print them to stderr in + addition to the log file. The user must specify the path to a Propane input grammar file and a path to an output file.