[asterisk-bugs] [Asterisk 0011718]: [patch] Have `help foo` report that "foo" isn't valid, if it isn't.

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jan 9 14:28:41 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11718 
====================================================================== 
Reported By:                kshumard
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11718
Category:                   Core/*
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 97577 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-09-2008 13:30 CST
Last Modified:              01-09-2008 14:28 CST
====================================================================== 
Summary:                    [patch] Have `help foo` report that "foo" isn't
valid, if it isn't.
Description: 
`help foo` on the Asterisk command line currently returns, without
reporting any text at all, if "foo" is not a valid help topic. The user
experience is better if Asterisk displays text indicating that "foo" is not
a valid help topic, rather than returning silently.

Go from...

ariel*CLI> help foo
ariel*CLI> 

To...
ariel*CLI> help foo
No such command 'foo'.
ariel*CLI> 
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 01-09-08 14:28  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 97623

_U  trunk/
U   trunk/main/cli.c

------------------------------------------------------------------------
r97623 | qwell | 2008-01-09 14:28:39 -0600 (Wed, 09 Jan 2008) | 14 lines

Merged revisions 97622 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue http://bugs.digium.com/view.php?id=11718)
........
r97622 | qwell | 2008-01-09 14:28:43 -0600 (Wed, 09 Jan 2008) | 5 lines

Correctly display a message if a command could not be found.
Also fix a comment which may have led to this happening.

Issue 11718, reported by kshumard.

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=97623 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-09-08 14:28  svnbot         Checkin                                      
01-09-08 14:28  svnbot         Note Added: 0076596                          
01-09-08 14:28  svnbot         Status                   new => assigned     
01-09-08 14:28  svnbot         Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list