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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.1, 3.0.0
    • karaf
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: