-
Bug
-
Resolution: Done
-
Minor
-
None
-
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
- clones
-
JBEAP-5545 Echo tab completion suggests variables without $ prefix
- Verified