[
https://issues.apache.org/jira/browse/KARAF-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16483537#comment-16483537
]
ASF subversion and git services commented on KARAF-5761:
--------------------------------------------------------
Commit 16b8a7764fbe91a29906d54199ffd22ce2d1bcd1 in karaf's branch
refs/heads/master from [~jbonofre]
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=16b8a77 ]
[KARAF-5761] This closes #508
> 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)