Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4938

CLI command aliases with '-' character should print error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR4
    • 7.0.0.GA
    • CLI
    • None

    Description

      Creating an CLI command alias with '-' character doesn't work. CLI doesn't print any error, but still it doesn't register the alias.

      [standalone@localhost:9990 /] alias read-undertow='/subsystem=undertow:read-resource'
      [standalone@localhost:9990 /] alias
      [standalone@localhost:9990 /] alias read_undertow='/subsystem=undertow:read-resource'
      [standalone@localhost:9990 /] alias
      alias read_undertow='/subsystem=undertow:read-resource'
      

      Note:
      In case this behaviour is expected, please give us a comment on JBEAP-4837 so it can be documented.

      Attachments

        Issue Links

          Activity

            People

              chaowan@redhat.com Chao Wang
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: