[asterisk-bugs] [Asterisk 0017494]: [patch] "dahdi show channels group" auto-completion bug
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Apr 15 09:58:39 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17494
======================================================================
Reported By: ffossard
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17494
Category: Channels/chan_dahdi
Reproducibility: always
Severity: trivial
Priority: normal
Status: ready for testing
Asterisk Version: SVN
JIRA: SWP-1677
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-06-09 17:02 CDT
Last Modified: 2011-04-15 09:58 CDT
======================================================================
Summary: [patch] "dahdi show channels group" auto-completion
bug
Description:
After typing "dahdi show channels group", the <tab> key adds a "group" of
more:
localhost*CLI> dahdi show channels group group group group group group
group
Usage: dahdi show channels [ trunkgroup <trunkgroup> | group <group> |
context <context> ]
Shows a list of available channels with optional filtering
<group> must be a number between 0 and 63
=> <group> can't be a word, only a number, so auto-completion should not
add the word "group"
======================================================================
----------------------------------------------------------------------
(0133821) svnbot (reporter) - 2011-04-15 09:58
https://issues.asterisk.org/view.php?id=17494#c133821
----------------------------------------------------------------------
Repository: asterisk
Revision: 313859
U branches/1.6.2/main/cli.c
------------------------------------------------------------------------
r313859 | jrose | 2011-04-15 09:58:38 -0500 (Fri, 15 Apr 2011) | 10 lines
Fix a Tab Completion bug that occurs due to multiple matches on a
substring.
Makes word_match function in cli.c repeat a search for a command string
until
a proper match is found or the string is searched to the last point.
(closes issue https://issues.asterisk.org/view.php?id=17494)
Reported by: ffossard
Review: https://reviewboard.asterisk.org/r/1180/
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=313859
Issue History
Date Modified Username Field Change
======================================================================
2011-04-15 09:58 svnbot Checkin
2011-04-15 09:58 svnbot Note Added: 0133821
======================================================================
More information about the asterisk-bugs
mailing list