diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-08-14 11:44:08 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-08-14 11:44:08 +0200 |
commit | a6cd860b5ae679a1144f47b0aa8b3ece6968517a (patch) | |
tree | 3624a15774beb879d9101dbf488906658cae14a1 /src/core/wee-command.c | |
parent | 776329b93ff18955d899cdc49ef99610459ab989 (diff) | |
download | weechat-a6cd860b5ae679a1144f47b0aa8b3ece6968517a.zip |
If null value is allowed for an option, display it in /help option
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r-- | src/core/wee-command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index e9b8bd23b..7e11d4054 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -1806,6 +1806,12 @@ command_help (void *data, struct t_gui_buffer *buffer, case CONFIG_NUM_OPTION_TYPES: break; } + if (ptr_option->null_value_allowed) + { + gui_chat_printf (NULL, " %s", + /* TRANSLATORS: please do not translate "(null)" */ + _("undefined value allowed (null)")); + } return WEECHAT_RC_OK; } |