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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b120
    • Verified

      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

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: