[forge-issues] [JBoss JIRA] (FORGE-656) "Did you mean ?" feature ignores alias commands

George Gastaldi (JIRA) jira-events at lists.jboss.org
Fri Aug 17 14:32:14 EDT 2012


    [ https://issues.jboss.org/browse/FORGE-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712316#comment-12712316 ] 

George Gastaldi commented on FORGE-656:
---------------------------------------

The code for the "Did you mean" feature lies in org.jboss.forge.shell.plugins.builtin.ForgePlugin.suggestMissingPlugin(CommandMissing)
                
> "Did you mean ?" feature ignores alias commands
> -----------------------------------------------
>
>                 Key: FORGE-656
>                 URL: https://issues.jboss.org/browse/FORGE-656
>             Project: Forge
>          Issue Type: Bug
>            Reporter: George Gastaldi
>            Priority: Minor
>              Labels: starter
>             Fix For: 1.0.7.Final
>
>
> The "Did you mean ?" list shown when you type an invalid command does not show aliased commands, like: 
> {code:java}
> alias "ll=ls -l"
> {code}
> And then you type L in lowercase, it currently displays:
> {code}
> ***ERROR*** No such command: l
> Did you mean any of these ?
> 	ls
> {code}
> but should display the aliased commands as well. 

--
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 forge-issues mailing list