[ 
https://issues.apache.org/jira/browse/KARAF-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré resolved KARAF-5761.
-----------------------------------------
    Resolution: Fixed

> Print better usage of commands in karaf shell
> ---------------------------------------------
>
>                 Key: KARAF-5761
>                 URL: https://issues.apache.org/jira/browse/KARAF-5761
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>    Affects Versions: 4.2.0
>            Reporter: Lijun Liao
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.2.1
>
>
>  commands in karaf shell, extend the usage (help page) to indicate that an 
> option is required and/or multi-valued, and the same for arguments.
> An example usage in the current version is as follows:
> SYNTAX
>         xi:demo-cmd  [options] arg1 arg2
> ARGUMENTS
>         arg1
>                 Description of arg1
>         arg2
>                 Description of arg2
> OPTIONS
>         --opt1
>                Description of opt1
>         --opt2
>                Description of opt2
>         --opt3
>                Description of opt3
> It should be extended to
> SYNTAX
>         xi:demo-cmd  [options] arg1 arg2
> ARGUMENTS
>         arg1
>                 Description of arg1
>                (required, multi-valued)
>         arg2
>                 Description of arg2
>                 (required)
> OPTIONS
>         --opt1
>                Description of opt1
>                (required, multi-valued)
>         --opt2
>                Description of opt2
>                (required)
>         --opt3
>                Description of opt3
>                (multi-valued)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to