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

Echo commands without arguments doesn't print existing variables - update help message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR2
    • 7.0.1.CR1
    • CLI
    • None

      According to the help message:

         If the command is executed w/o arguments then the command will print
         all the existing variables with their values in the name=value format.
      

      actual

      [standalone@localhost:9990 /] set foo=bar
      [standalone@localhost:9990 /] echo $foo
      bar
      [standalone@localhost:9990 /] echo
      
      [standalone@localhost:9990 /]
      

      expected

      [standalone@localhost:9990 /] set foo=bar
      [standalone@localhost:9990 /] echo $foo
      bar
      [standalone@localhost:9990 /] echo
      foo=bar
      [standalone@localhost:9990 /]
      

              olubyans@redhat.com Alexey Loubyansky
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: