Summary: | ASTERISK-05270: [patch] ? or <tab> doesn't work for top level CLI commands | ||
Reporter: | Andreas Anderson (aanderson) | Labels: | |
Date Opened: | 2005-10-10 04:00:05 | Date Closed: | 2008-01-15 15:50:26.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cli_tabcomplete.patch | |
Description: | "?" on console root does not work. ****** ADDITIONAL INFORMATION ****** It's still possible to do i.e. a "sip ?" to see all sip commands, but you cant see the top level of the command list (sip, show, reload etc...) | ||
Comments: | By: Clod Patry (junky) 2005-10-10 05:18:22 just type sip <tab>. By: Andreas Anderson (aanderson) 2005-10-10 06:24:17 sure, but try just tab or ?. On an older version, this showed all available commands: localhost*CLI> ! abort add agi answer autoanswer bri database debug devstate dial dont dump exit extensions hangup help iax2 include init load local logger meetme mgcp no odbc pri quit reload remove restart save send set show sip skinny soft stop transfer unload zap on current cvs, neigther tab nor "?" works on top level console. I never found a hint this was an intentional chance, so i guess its a bug... By: Tilghman Lesher (tilghman) 2005-10-10 12:05:50 Code from September 8th displays the old behavior, so the change was in the past 30 days. Further research shows the change between 9/20 and 9/25. By: Russell Bryant (russell) 2005-10-11 00:32:49 The problem is between versions 1.99 and 1.100 of cli.c which was a commit to fix ASTERISK-4914. By: Russell Bryant (russell) 2005-10-11 01:48:02 patch uploaded, give it a try and see if it breaks anything ... By: Clod Patry (junky) 2005-10-11 02:05:22 sounds okay to me too. By: Andreas Anderson (aanderson) 2005-10-11 03:35:01 yup, that seems to solve it, thanks a lot! By: Russell Bryant (russell) 2005-10-11 16:25:59 fixed in cvs head, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:50:26.000-0600 Repository: asterisk Revision: 6740 U trunk/cli.c ------------------------------------------------------------------------ r6740 | russell | 2008-01-15 15:50:26 -0600 (Tue, 15 Jan 2008) | 2 lines fix command listing for top level CLI commands (issue ASTERISK-5270) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6740 |