[
https://issues.apache.org/jira/browse/SLING-10186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315449#comment-17315449
]
Stefan Bischof edited comment on SLING-10186 at 4/6/21, 12:06 PM:
------------------------------------------------------------------
I made a commit, maybe you could have a look.
Could you mark the following options with
[*]must
[?]could
[!]not
that i know what is expected
-D a=1
-D a=1 -D b=2
-D a=1,b=2
-D a=1,b=2 -D c=3
-Da=1
-Da=1 -D b=2
-Da=1,b=2
-Da=1,b=2 -Dc=3
-Da=1 -D c=3
was (Author: [email protected]):
Could you mark the following options with
[*]must
[?]could
[!]not
that i know what is expected
-D a=1
-D a=1 -D b=2
-D a=1,b=2
-D a=1,b=2 -D c=3
-Da=1
-Da=1 -D b=2
-Da=1,b=2
-Da=1,b=2 -Dc=3
-Da=1 -D c=3
> Enhance cli parsing on sling-feature-launcher
> ---------------------------------------------
>
> Key: SLING-10186
> URL: https://issues.apache.org/jira/browse/SLING-10186
> Project: Sling
> Issue Type: Improvement
> Reporter: Stefan Bischof
> Assignee: Robert Munteanu
> Priority: Major
> Fix For: Feature Model Launcher 1.1.18
>
>
> extract opts as Constants
> add longOpt to Options
> fix plural in description
> use Builder-pattern to build Options
> set numberOfArgs , valueSeparator(',')
> accept (but ignore) empty options without ParsingExceptions
> using .optionalArg(true) and Optionals
> option to set loglevel on verbose Option
> update common-cli version
> use DefaultParser not deprecated BasicParser
> https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/16
--
This message was sent by Atlassian Jira
(v8.3.4#803005)