[ 
https://issues.apache.org/jira/browse/KARAF-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved KARAF-152.
-----------------------------------

      Assignee: Guillaume Nodet
    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
        M       
shell/console/src/main/java/org/apache/felix/gogo/commands/Argument.java
        M       
shell/console/src/main/java/org/apache/felix/gogo/commands/basic/DefaultActionPreparator.java
Committed r992450


> when using the @Argument annotation, if there is no name specified it would 
> be nice to reuse the name of the field, rather than use VAL
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-152
>                 URL: https://issues.apache.org/jira/browse/KARAF-152
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: james strachan
>            Assignee: Guillaume Nodet
>             Fix For: 2.2.0
>
>
> e.g. code like this...
> {code}
> @Argument(index = 2, description = "whatnot")
> String foo;
> {code}
> its kinda redundant having to specify the following on each argument. It 
> should be required only if the name is different to the field name
> {code}
> name = "foo", 
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to