Description of problem: Example 11 and Example 16 from http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/3.1/html/Dev_Writing_JON_Command-Line_Scripts/common-actions.html are incorrect. Example 11: following line: rhqadmin@localhost:7080$ exec -f echo_args.js --args-style=named x=1, y=2 correct version: rhqadmin@localhost:7080$ exec -f echo_args.js --args-style=named x=1 y=2 (no comma between arguments) Example16: localhost:7080(rhqadmin)> exec --style=named -f /absolute/path/to/myscript.js -s named x=1 y=2 y=3 correct version: localhost:7080(rhqadmin)> exec --args-style=named -f /absolute/path/to/myscript.js x=1 y=2 y=3 -s is not a valid option for exec command (maybe it was removed?? - not sure) so following sentence 'This can be done using the -s option, which, much like the --args-style option with the rhq-cli.sh command' is not true any more. Tested on JON311ER1
Mass closure.