Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8157185

jshell tool: ambiguous format -- distinguished arguments should be options

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b120
    • Verification:
      Verified

      Description

      That is, they should have leading hyphens. No new options or functionality, just a less ambiguous format.

      /list /vars /methods /types should have -all and -start (instead of start all)
      /save should have -all -start -history (instead of confusing /save [all|history|start] <file>)
      /restore -reload -quiet
      /set mode <mode> -quiet

        Attachments

          Activity

            People

            Assignee:
            rfield Robert Field
            Reporter:
            rfield Robert Field
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: