[jboss-jira] [JBoss JIRA] (WFCORE-1595) CLI doesn't autocomplete for unalias command
Chao Wang (JIRA)
issues at jboss.org
Wed Jun 15 06:23:00 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252737#comment-13252737 ]
Chao Wang commented on WFCORE-1595:
-----------------------------------
completion for alias and unalias have been achieved by AliasCompletion.java and AeshCompletionHandler.java. However, CLI also does its completion in OperationRequestCompleter.java which add the {{""}} to candidates list. This fails the [else if check|https://github.com/aeshell/aesh/blob/0.66.8/src/main/java/org/jboss/aesh/console/AeshCompletionHandler.java#L163] in AeshCompletionHandler.java. Therefore, auto completion does not work and it shows one candidates in a new line.
> CLI doesn't autocomplete for unalias command
> --------------------------------------------
>
> Key: WFCORE-1595
> URL: https://issues.jboss.org/browse/WFCORE-1595
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0.Alpha1
> Reporter: Chao Wang
> Assignee: Chao Wang
>
> Tab completion for CLI unalias commend doesn't seem to work. CLI will suggest available option, but doesn't autocomplete.
> *actual*
> {noformat}
> [standalone at localhost:9990 /] unalias read_<TAB>
> read_undertow
> [standalone at localhost:9990 /] unalias read_<TAB>
> read_undertow
> {noformat}
> *expected*
> {noformat}
> [standalone at localhost:9990 /] unalias read_<TAB>
> [standalone at localhost:9990 /] unalias read_undertow
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list