[asterisk-bugs] [Asterisk 0013970]: CLI command "help sip set history {on|off}" shows deprectated usage in help text

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 18 15:21:54 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13970 
====================================================================== 
Reported By:                pkempgen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13970
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.6.1-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-25 14:13 CST
Last Modified:              2008-12-18 15:21 CST
====================================================================== 
Summary:                    CLI command "help sip set history {on|off}" shows
deprectated usage in help text
Description: 
Not sure if the category should be Channels/chan_sip or Documentation.

$ asterisk -rx 'help sip set history on'
Usage: sip history {on|off}
...

but 'sip history [off]' is deprectated.

Expected output for 'help sip set history {on|off}':
Usage: sip *set* history {on|off}
...

Expected output for 'help sip history':
...
'sip history [off]' is DEPRECATED. Please use 'sip set history {on|off}'.

====================================================================== 

---------------------------------------------------------------------- 
 (0096664) svnbot (reporter) - 2008-12-18 15:21
 http://bugs.digium.com/view.php?id=13970#c96664 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 165792

U   trunk/apps/app_queue.c
U   trunk/channels/chan_dahdi.c
U   trunk/channels/chan_misdn.c
U   trunk/channels/chan_oss.c
U   trunk/channels/chan_sip.c
U   trunk/pbx/pbx_ael.c

------------------------------------------------------------------------
r165792 | file | 2008-12-18 15:21:54 -0600 (Thu, 18 Dec 2008) | 6 lines

Numerous documentation updates.
(closes issue http://bugs.digium.com/view.php?id=13970)
Reported by: pkempgen
Patches:
      __20081217_cli_usage_fixes.patch.txt uploaded by blitzrage (license
10)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-18 15:21 svnbot         Checkin                                      
2008-12-18 15:21 svnbot         Note Added: 0096664                          
======================================================================




More information about the asterisk-bugs mailing list