[jboss-jira] [JBoss JIRA] (AS7-2059) CLI usability: autocompletion clears input on pressing TAB twice

Radoslav Husar (Created) (JIRA) jira-events at lists.jboss.org
Mon Oct 10 10:31:16 EDT 2011


CLI usability: autocompletion clears input on pressing TAB twice
----------------------------------------------------------------

                 Key: AS7-2059
                 URL: https://issues.jboss.org/browse/AS7-2059
             Project: Application Server 7
          Issue Type: Bug
          Components: CLI
    Affects Versions: 7.0.2.Final
            Reporter: Radoslav Husar
            Assignee: Darran Lofthouse
             Fix For: 7.1.0.Beta1


This is a regression from 7.0.1, present in snapshot.

Lets not reinvent the wheel and lets implement standard console bash-like behavior of autocompletion.

Steps to reproduce:

# type :add-
# press tab
# press tab one more time

Result:
command line shows ":"

Expected result:
command line behaves like normal shell and leaves ":add-" on the command line

{code}
[disconnected /] connect
Connected to standalone controller at localhost:9999
[standalone at localhost:9999 /] :add-

add-namespace         add-schema-location
[standalone at localhost:9999 /] :    

add-namespace                add-schema-location          delete-snapshot              full-replace-deployment
list-snapshots               read-attribute               read-children-names          read-children-resources
read-children-types          read-config-as-xml           read-operation-description   read-operation-names
read-resource                read-resource-description    reload                       remove-namespace
remove-schema-location       replace-deployment           shutdown                     take-snapshot
upload-deployment-bytes      upload-deployment-stream     upload-deployment-url        validate-address
write-attribute
[standalone at localhost:9999 /] :
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list