aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 14 insertions, 12 deletions
diff --git a/README.md b/README.md
index fcab924..502688e 100644
--- a/README.md
+++ b/README.md
@@ -93,23 +93,25 @@ The `toast` binary can also be used directly on the CLI:
toast -h
Usage:
main [optional-params] C/C++ source/header
- Options(opt-arg sep :|=|spc):
+Options(opt-arg sep :|=|spc):
-h, --help print this cligen-erated help
- --help-syntax advanced: prepend, multi-val,..
- -p, --preprocess bool false run preprocessor on header
- -a, --past bool false print AST output
- -n, --pnim bool false print Nim output
- -r, --recurse bool false process #include files
- -c, --nocomments bool false exclude top-level comments from output
+ --help-syntax advanced: prepend,plurals,..
+ -d, --debug bool false enable debug output
-D=, --defines= strings {} definitions to pass to preprocessor
- -I=, --includeDirs= strings {} include directory to pass to preprocessor
-l=, --dynlib= string "" Import symbols from library in specified Nim string
- -O=, --symOverride= strings {} skip generating specified symbols
- --nim= string "nim" use a particular Nim executable (default: $PATH/nim)
- --pluginSourcePath= string "" Nim file to build and load as a plugin
- -d, --debug bool false enable debug output
+ -I=, --includeDirs= strings {} include directory to pass to preprocessor
-m=, --mode= string "cpp" language parser: c or cpp
+ --nim= string "nim" use a particular Nim executable (default: $PATH/nim)
+ -c, --nocomments bool false exclude top-level comments from output
+ -a, --past bool false print AST output
-g, --pgrammar bool false print grammar
+ --pluginSourcePath= string "" Nim file to build and load as a plugin
+ -n, --pnim bool false print Nim output
+ -E=, --prefix= strings {} Strip prefix from identifiers
+ -p, --preprocess bool false run preprocessor on header
+ -r, --recurse bool false process #include files
+ -F=, --suffix= strings {} Strip suffix from identifiers
+ -O=, --symOverride= strings {} skip generating specified symbols
```
__Implementation Details__