[jboss-jira] [JBoss JIRA] (WFCORE-145) CLI run-batch command cannot process files with comments or blank lines

Alexey Loubyansky (JIRA) issues at jboss.org
Thu Oct 2 09:29:02 EDT 2014


Alexey Loubyansky created WFCORE-145:
----------------------------------------

             Summary: 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.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list