[ https://issues.apache.org/jira/browse/STRATOS-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13994427#comment-13994427 ]
chris snow commented on STRATOS-650: ------------------------------------ Hi Nirmal, options does not contain the commands options. The fix also sets a flag saying to stop processing after hitting an unknown option (i.e. the command options). The command options (remainingArgs) are passed to the command for handling separately. > command line mode does not accept options > ----------------------------------------- > > Key: STRATOS-650 > URL: https://issues.apache.org/jira/browse/STRATOS-650 > Project: Stratos > Issue Type: Bug > Components: CLI > Affects Versions: FUTURE > Reporter: chris snow > Fix For: FUTURE > > Attachments: 0002-fix-for-STRATOS-650.patch > > > The CLI does not recognise the options in command line mode: > {code} > $ java -jar $cli_jar -u admin -p admin create-tenant -u tenant1 -p secret -f > John -l Doe -d tenant.com -e j...@tenant.com > Username: admin > usage: create-tenant [-u <user name>] [-f <first name>] [-l <last name>] [-p > <password>] [-d <domain name>] [-e <email>] > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)