]
RH Bugzilla Integration commented on WFCORE-145:
------------------------------------------------
Kabir Khan <kkhan(a)redhat.com> changed the Status of [bug
CLI run-batch command cannot process files with comments or blank
lines
-----------------------------------------------------------------------
Key: WFCORE-145
URL:
https://issues.jboss.org/browse/WFCORE-145
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 1.0.0.Alpha8
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
In the JBoss CLI tool, the "run-batch --file=script.cli" command cannot
successfully process lines that start with "#" or blank lines. Comments and
blank lines help readability when creating cli batch scripts.
However, running the batch file containing comments/blank lines as a parameter
to jboss-cli.sh works just fine (./jboss-cli.sh -c --file=script.cli). This
difference in accepted syntax creates some confusion for users who are new to
the CLI tool.