Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8589

GrapeMain bugfix: should not show error about missing mandatory args when --help or --version is specified

    XMLWordPrintableJSON

Details

    Description

      GROOVY-8577 introduced a bug: the parser incorrectly complains about missing mandatory options when the user specified --help or --version. For example:

      java -cp ... org.codehaus.groovy.tools.GrapeMain install --version
      

      ... gives the following output:

      Missing required parameters: <group>, <module>
      Installs a particular grape
      Usage: grape install [-hv] <group> <module> [<version>] [<classifier>]
      
      Installs the specified groovy module or maven artifact. If a version is
      ...
      

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              rpopma Remko Popma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: