[jboss-jira] [JBoss JIRA] (WFCORE-1695) Echo tab completion suggests variables without $ prefix
Martin Schvarcbacher (JIRA)
issues at jboss.org
Thu Aug 4 05:01:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Schvarcbacher moved JBEAP-5547 to WFCORE-1695:
-----------------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1695 (was: JBEAP-5547)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: CLI
(was: CLI)
Affects Version/s: (was: 7.1.0.DR2)
> Echo tab completion suggests variables without $ prefix
> -------------------------------------------------------
>
> Key: WFCORE-1695
> URL: https://issues.jboss.org/browse/WFCORE-1695
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Reporter: Martin Schvarcbacher
> Assignee: Alexey Loubyansky
> Priority: Minor
>
> *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*
> {code:bash}
> [disconnected /] set myvar1=value1
> [disconnected /] set myvar2=value2
> [disconnected /] set
> myvar1=value1
> myvar2=value2
> {code}
> *Actual*
> {code:bash}
> [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
> {code}
> *Expected*
> {code:bash}
> [disconnected /] echo <TAB>
> --help
> [disconnected /] echo $<TAB>myvar<TAB>
> myvar1 myvar2
> [disconnected /] echo myvar<TAB> #does not suggest anything
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list