-
Bug
-
Resolution: Done
-
Minor
-
7.1.0.DR2
-
None
Description:
echo command prints all variables in tab auto-complete even without typing $ prefix
This duplicates functionality of 'set' with no arguments.
Steps to reproduce
[disconnected /] set myvar1=value1 [disconnected /] set myvar2=value2 [disconnected /] set myvar1=value1 myvar2=value2
Actual
[disconnected /] echo <TAB> --help myvar1 myvar2 #should not suggest variables [disconnected /] echo $<TAB>myvar<TAB> #expected, auto-completes with $prefix myvar1 myvar2 [disconnected /] echo myvar<TAB> #autocompletes variable without $prefix myvar1 myvar2
Expected
[disconnected /] echo <TAB>
--help
[disconnected /] echo $<TAB>myvar<TAB>
myvar1 myvar2
[disconnected /] echo myvar<TAB> #does not suggest anything
- is cloned by
-
WFCORE-1695 Echo tab completion suggests variables without $ prefix
- Resolved
- is incorporated by
-
JBEAP-7572 (7.1.0) Upgrade to WildFly Core 3.0.0.Alpha17
- Closed
- relates to
-
JBEAP-5043 Echo commands without arguments doesn't print existing variables - update help message
- Verified