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

Parsing of groovy(c) command-line arguments is too fragile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7-rc-2
    • 1.7.3
    • None
    • Mac OS, Ubuntu

    Description

      Tried to call 'groovy' with two command-line args: -c and -cp.

      First, -cp isn't mentioned in the help (when typing 'groovy' alone).
      Second, -cp must be given first, or a parsing error occurs. This sort of behavior is very hard to understand for a user (I had almost given up when I found this).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pniederw Peter Niederwieser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: