karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-5761) Print better usage of commands in karaf shell
Date Sat, 19 May 2018 04:45:00 GMT

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

Jean-Baptiste Onofré reassigned KARAF-5761:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> 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)

Mime
View raw message