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

Andreas Pieber closed KARAF-605.
--------------------------------

    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/karaf/branches/karaf-2.2.x ...
        M       
shell/console/src/main/java/org/apache/felix/gogo/commands/Argument.java        
                       
        M       
shell/console/src/main/java/org/apache/felix/gogo/commands/Option.java          
                       
        M       
shell/console/src/main/java/org/apache/felix/gogo/commands/basic/DefaultActionPreparator.java
Committed r1098160

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/Option.java          
                       
        M       
shell/console/src/main/java/org/apache/felix/gogo/commands/basic/DefaultActionPreparator.java
          
Committed r1098166

> Add param to Gogo Argument and Option to override default value with specific 
> value
> -----------------------------------------------------------------------------------
>
>                 Key: KARAF-605
>                 URL: https://issues.apache.org/jira/browse/KARAF-605
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>            Assignee: Andreas Pieber
>            Priority: Minor
>             Fix For: 2.2.1, 3.0.0
>
>
> currently, using Gogo Argument and Option in commands uses reflection to 
> retrieve the default value of Arguments or Options. This has the disadvantage 
> that in some cases this default value is overwritten somewhere else not 
> representing the "real" default value. Adding an additional parameter (e.g. 
> valueToShowInHelp) which can be used to set a specific value or completely 
> suppress the output (setting it empty)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to