Karaf
  1. Karaf
  2. KARAF-645

Add a flag to suppress --help Option output on

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 3.0.0
    • Fix Version/s: 2.2.3, 3.0.0
    • Component/s: karaf-tooling
    • Labels:

      Description

      CmdHelp goal in karaf-maven-plugin should have option to specify whether to add the --help option to the output files. It is incredibly verbose and noisy if most commands don't normally have options.

      Mailing list discussion:

      http://mail-archives.apache.org/mod_mbox/karaf-user/201105.mbox/%3CBANLkTimeOxAL0+reQBqpRVQQ=vaxGNPoyw@mail.gmail.com%3E

      1. includeHelpOption.patch
        4 kB
        Sam Hendley
      2. updatesToDocbkOutput.patch
        4 kB
        Sam Hendley

        Activity

        Sam Hendley created issue -
        Hide
        Sam Hendley added a comment -

        Patch file to add the includeHelpOption features to the generator. (Patch created against tip SVN as of 5/16/2011).

        Show
        Sam Hendley added a comment - Patch file to add the includeHelpOption features to the generator. (Patch created against tip SVN as of 5/16/2011).
        Sam Hendley made changes -
        Field Original Value New Value
        Attachment includeHelpOption.patch [ 12479405 ]
        Hide
        Sam Hendley added a comment -

        Updates the docbk output to be on par with the conf output. Would be better if the formatters were refactored a bit to have the "hard parts" of getting default values and descriptions pulled into helper objects but I copied what was there for now.

        Show
        Sam Hendley added a comment - Updates the docbk output to be on par with the conf output. Would be better if the formatters were refactored a bit to have the "hard parts" of getting default values and descriptions pulled into helper objects but I copied what was there for now.
        Sam Hendley made changes -
        Attachment updatesToDocbkOutput.patch [ 12479406 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 3.0.0 [ 12316040 ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 2.2.3 [ 12316685 ]
        Hide
        Jean-Baptiste Onofré added a comment -

        FYI, I apply the same behavior on conf preparator.

        Show
        Jean-Baptiste Onofré added a comment - FYI, I apply the same behavior on conf preparator.
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on trunk: revision 1073529.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on trunk: revision 1073529.
        Hide
        Jean-Baptiste Onofré added a comment -

        Fixed on karaf-2.2.x: revision 1144849.

        Show
        Jean-Baptiste Onofré added a comment - Fixed on karaf-2.2.x: revision 1144849.
        Jean-Baptiste Onofré made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jamie goodyear made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Sam Hendley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development