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

 
 

bug #19166: Help is not displayed for redefined commands

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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.4