[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
Tue Nov 25 14:54:51 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: new
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-11-25 14:54 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}'.
======================================================================
----------------------------------------------------------------------
(0095501) pkempgen (reporter) - 2008-11-25 14:54
http://bugs.digium.com/view.php?id=13970#c95501
----------------------------------------------------------------------
> Expected output for 'help sip history':
> ...
> 'sip history [off]' is DEPRECATED. Please use 'sip set history
{on|off}'.
There seems to be a problem with the built-in documentation ("usage") of
other commands too.
E.g. "help reload" in Asterisk 1.6:
---cut---
Usage: module reload [module ...]
Reloads configuration files for all listed modules which support
reloading, or for all supported modules if none are listed.
---cut---
It doesn't tell me that "reload" has been deprectated.
Expected output:
---cut---
Usage: reload [module ...]
Reloads configuration files for all listed modules which support
reloading, or for all supported modules if none are listed.
"reload" has been DEPRECATED. Please use "module reload".
---cut---
Issue History
Date Modified Username Field Change
======================================================================
2008-11-25 14:54 pkempgen Note Added: 0095501
======================================================================
More information about the asterisk-bugs
mailing list