diff options
| author | 2025-11-15 20:33:33 +0000 | |
|---|---|---|
| committer | 2025-11-15 20:42:55 +0000 | |
| commit | 13ddf47d80893eb4d09ca31f5469b835f24170c7 (patch) | |
| tree | 57d03f2c377f2fb68e93cbb25b3ed5111c1f6fe0 /src/con_.c | |
| parent | c15101df02685a5d26f4b130f7b559eb7ed7f74f (diff) | |
| download | sst-13ddf47d80893eb4d09ca31f5469b835f24170c7.tar.gz sst-13ddf47d80893eb4d09ca31f5469b835f24170c7.zip | |
Diffstat (limited to 'src/con_.c')
| -rw-r--r-- | src/con_.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -154,6 +154,9 @@ static const char *VCALLCONV GetName(struct con_cmdbase *this) { return this->name; } static const char *VCALLCONV GetHelpText(struct con_cmdbase *this) { + if_cold (this->flags & (CON_INIT_HIDDEN | _CON_NE_HIDDEN)) { + return this->help - 18; // see _DEF_* macros in con_.h + } return this->help; } static bool VCALLCONV IsRegistered(struct con_cmdbase *this) { |
