[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #19166] Help is not displayed for redefined commands

From: Jiri Golembiovsky
Subject: [Weechat-dev] [bug #19166] Help is not displayed for redefined commands
Date: Tue, 27 Feb 2007 23:29:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060804 Firefox/


                 Summary: Help is not displayed for redefined commands
                 Project: Wee Enhanced Environment for Chat
            Submitted by: golemj
            Submitted on: Tuesday 02/27/2007 at 23:29
                Category: plugins
                Severity: 3 - Normal
              Item Group: weechat command bug
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



When some plugin (maybe script too) redefine some WeeChat command than help
should be shown for this plugin command not for WeeChat command.
Lets redefine 'topic' command like this:
cmdOpHandler = plugin->cmd_handler_add(
    plugin, "op",
    "gives channel operator status to nickname(s)", "", "", "",
    &cmdTopic, NULL, NULL );
Then there are no parameters for 'topic' command.
But when we do '/help topic' then WeeChat print help for internal command not
for plugin command which will be executed.
[00:28:08] [i]  /topic  [channel] [topic]
[00:28:08] get/set channel topic
[00:28:08] channel: channel name
[00:28:08] topic: new topic for channel (if topic is "-delete" then topic is


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]