After playing a bit more I see that the following does work fine:
$ jboss-cli.sh -c --command=ls
So I guess the error message is just a bit confusing...
Cheers,
David
On 07/08/2012 12:10, David Bosschaert wrote:
Hi all,
When I run jboss-cli with --command it complains about 'duplicate
arguments':
$ ./target/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/jboss-cli.sh -c --command ls
Duplicate argument '--command'/'--commands'.
This is with the latest 7.2.0.Alpha1 master and I think I've also seen
this on the 7.1.x branch...
Am I doing something wrong or is this a bug?
Thanks,
David
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev