[ 
https://issues.apache.org/jira/browse/KARAF-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070738#comment-13070738
 ] 

Glen Mazza commented on KARAF-753:
----------------------------------

I'm confused--first, I think you mean "commandlist" and not "listcommand".  
Secondly, I'm confused why OSGi Blueprint dependency injection would define 
anything concerning the jaas:pending command (the Blueprint schema: 
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd includes nothing with 
the phrase "command" or "pending".)

My general recommendation, would be yes, to name the method whatever it should 
be named in the 2.x series, adding an alias if necessary but to *not* include 
the alias in the 3.0 series (if the only reason why you would do so is for 
backward compatibility).  Because major version upgrades are where you get rid 
of old commands/APIs.

But whatever you do, when I enter karaf> {command} --help, when I see the help 
for it, I should see that same {command} in the DESCRIPTION field of the help 
text.  The present commandlist in one and jaas:pending in the other looks like 
a strange bug to most users.

> commandlist --help points to help for jaas:pending
> --------------------------------------------------
>
>                 Key: KARAF-753
>                 URL: https://issues.apache.org/jira/browse/KARAF-753
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 2.2.2
>            Reporter: Glen Mazza
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Not sure why (can't find the problem in the source code), but commandlist 
> --help is pointing to another command:
> karaf@root> commandlist --help
> DESCRIPTION
>         jaas:pending
>       Lists the modification on the active realm/module.
> SYNTAX
>         jaas:pending [options]
> OPTIONS
>         --help
>                 Display this help message
> karaf@root> 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to