diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-11-01 00:46:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-01 00:46:17 +0100 |
| commit | fd53e8b95598d983ab511a38091927098425b6c8 (patch) | |
| tree | c2259808652f6df9a31abdb2fffd94fce5f2aef1 /src/main.cpp | |
| parent | f8228e305a67ba4d3b46fb23e26f6117c975b807 (diff) | |
| parent | 53a030c65bce3bdf1d68cf9a65ed1a21d0e3ec8f (diff) | |
Merge pull request #2166 from Kelimion/clarify-define-help
Clarify -define help.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9ceedbb7a..b583e9843 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2039,8 +2039,8 @@ void print_show_help(String const arg0, String const &command) { print_usage_line(3, "import \"shared:foo\""); print_usage_line(0, ""); - print_usage_line(1, "-define:<name>=<expression>"); - print_usage_line(2, "Defines a global constant with a value"); + print_usage_line(1, "-define:<name>=<value>"); + print_usage_line(2, "Defines a scalar boolean, integer or string as global constant"); print_usage_line(2, "Example: -define:SPAM=123"); print_usage_line(2, "To use: #config(SPAM, default_value)"); print_usage_line(0, ""); |