summaryrefslogtreecommitdiff
path: root/base/data/help/cli.help
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-10-25 12:10:14 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-10-25 12:10:14 -0300
commit7bda9de511a5642efb297eae98c6ea7c42b27754 (patch)
treedff1aa772b9ac088c5bd07b8d10d944cbff89f96 /base/data/help/cli.help
parentf028ea6dc555fc5192a96b00b8e96e90dbf6de55 (diff)
Start switch to maven modules
Diffstat (limited to 'base/data/help/cli.help')
-rw-r--r--base/data/help/cli.help45
1 files changed, 45 insertions, 0 deletions
diff --git a/base/data/help/cli.help b/base/data/help/cli.help
new file mode 100644
index 0000000..433d5de
--- /dev/null
+++ b/base/data/help/cli.help
@@ -0,0 +1,45 @@
+Help for DiceLang v0.2 CLI arguments:
+ -h or --help Show help
+ Shows this help message
+
+ -d or --debug Turn on debug mode.
+ Turns on debug mode, which prints additional information that
+ may be useful for finding errors.
+
+ -nd or --no-debug Turn off debug mode.
+ Turns off debug mode.
+
+ -po or --postfix Turn on postfix mode.
+ Turns on postfix mode, which disables the shunter.
+
+ -npo or --no-postfix Turn off postfix mode.
+ Turns off postfix mode.
+
+ -pr or --prefix Turn on prefix mode.
+ Turns on prefix mode, which reverses the expression instead of
+ shunting it.
+
+ -npr or --no-prefix Turn off prefix mode.
+ Turns off prefix mode.
+
+ -se or --step-eval Turn on step-eval mode.
+ Turns on step-evaluation, which shows the evaluation process
+ step-by-step. Currently slightly broken.
+
+ -nse or --no-step-eval Turn off step-eval mode.
+ Turns off step-evaluation.
+
+ -D or --define <name> [<val>] Define a constant
+ Defines name as a textual alias for val. If val isn't provided,
+ name is deleted wherever it occurs. These constants are applied
+ once to the input lines with a priority of 5
+
+ -df or --define-file <filename> Load defines from a file
+ Loads defines from a file. Consult 'define-file' in the DiceLang
+ help system for details on the format.
+
+ -ctf or --compiler-tweak-file <filename> Load compiler tweaks
+ from a file
+ Loads a series of compiler tweaks from a file. Consult
+ 'compiler-tweak-file' in the DiceLang help system for details
+ on the format.