URL:
  <http://savannah.nongnu.org/bugs/?19166>

                 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

    _______________________________________________________

Details:

When some plugin (maybe script too) redefine some WeeChat command than help
should be shown for this plugin command not for WeeChat command.
Example:
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]
[00:28:08] get/set channel topic
[00:28:08]
[00:28:08] channel: channel name
[00:28:08] topic: new topic for channel (if topic is "-delete" then topic is
deleted)





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19166>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to