bugWeeChat - Bugs: bug #19166, Help is not displayed for...

 
 

bug #19166: Help is not displayed for redefined commands

Submitter:  Jiri Golembiovsky <golemj>
Submitted:  Tue 27 Feb 2007 11:29:18 PM UTC
   
 
Category:  plugins Severity:  3 - Normal
Item Group:  command Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * None IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 27 Feb 2007 11:29:18 PM UTC, original submission:  

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)

Jiri Golembiovsky <golemj>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by golemj (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-03-05 flashcode StatusNone Fixed
        Assigned toNone flashcode
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code