Make /help useful + plugin api to register/unregister help commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Currently the DC++ /help command shows nothing useful information on screen:
[19:19:34] *** /refresh, /me <msg>, /clear [lines to keep], /slots #, /dslots #, /search <string>, /f <string>, /dc++, /away <msg>, /back, /g <searchstring>, /imdb <imdbquery>, /u <url>, /rebuild, /download, /upload, /join <hub-ip>, /showjoins, /favshowjoins, /close, /userlist, /conn[ection], /fav[orite], /removefav[orite], /info, /pm <user> [message], /getlist <user>, /ignore <user>, /unignore <user>, /log <status, system, downloads, uploads>, /raw <raw-command>, /topic
After reaching a certain amount of commands, you won't be able to find what you're looking for. I suggest to change the output to the "one command per line with a descriptive text" format. Plugins could also benefit from that: if you make possible for plugins to register and unregister commands to the /help the same time (thus providing the consistent formatting which would depend on DC++ not the plugin itself!) plugins would also benefit from this.
Changed in dcplusplus: | |
status: | New → In Progress |
Changed in dcplusplus: | |
importance: | Undecided → Wishlist |
Changed in dcplusplus: | |
status: | In Progress → Fix Committed |
Adds a descriptive text to each /help-command and splits them up on multiple lines. Using "/help brief" will yield the old behaviour.
Note that it does not add support for plugins: this would need to be extended upon later if need be.