Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-605

Add param to Gogo Argument and Option to override default value with specific value

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1, 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              pieber Andreas Pieber
              Reporter:
              pieber Andreas Pieber
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: