weechat-dev
[Top][All Lists]
Advanced

[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:1.8.0.4) Gecko/20060804 Firefox/1.5.0.4

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/





reply via email to

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