diff options
| author | Clayton Craft <clayton@craftyguy.net> | 2024-12-26 17:23:24 -0800 |
|---|---|---|
| committer | cooljqln <cooljqln@noreply.codeberg.org> | 2024-12-29 22:59:43 +0000 |
| commit | d985cfb5fbc500f6b32c34383a900f7fe0604c1f (patch) | |
| tree | e9c571bd1e016b39dbd494a3be94acc22398ff36 /src | |
| parent | 6e087b2dc42787679bcb9d828d057b64fac77e33 (diff) | |
| download | tangara-fw-d985cfb5fbc500f6b32c34383a900f7fe0604c1f.tar.gz | |
console: loglevel: improve help text
I was confused about why setting the level to something lower didn't
seem to work, so this attempts make it more clear that not all log
levels are actually available on release builds.
Fixes #155
Diffstat (limited to 'src')
| -rw-r--r-- | src/tangara/dev_console/console.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tangara/dev_console/console.cpp b/src/tangara/dev_console/console.cpp index bc3a7aca..d902c176 100644 --- a/src/tangara/dev_console/console.cpp +++ b/src/tangara/dev_console/console.cpp @@ -73,7 +73,8 @@ void RegisterLogLevel() { .command = "loglevel", .help = "Sets the log level to one of \"VERBOSE\", \"DEBUG\", \"INFO\", " - "\"WARN\", \"ERROR\", \"NONE\"", + "\"WARN\", \"ERROR\", \"NONE\". NOTE: Some log levels aren't available " + "on release builds.", .hint = "level", .func = &CmdLogLevel, .argtable = NULL}; |
