The CLI does not recognise the options in command line mode:
$ java -jar $cli_jar -u admin -p admin create-tenant -u tenant1 -p secret -f John -l Doe -d tenant.com -e firstname.lastname@example.org
usage: create-tenant [-u <user name>] [-f <first name>] [-l <last name>] [-p <password>] [-d <domain name>] [-e <email>]
My account access is back now, so I have pushed this. We can roll back if it causes any issues. I had done a fair amount of testing before making this change.
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.
I can see only 1 line change and have you renamed the allCommandOptions to options? But I can't find any evidence only looking at the diff.
Patch attached. I haven't committed this directly to the source tree because I'm locked out of my apache account and can't reset it due to the infra email issues.