Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-137

CLI jboss-cli.sh/bat --help fails with StringIndexOutOfBoundsException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Alpha1
    • None
    • CLI
    • None

    Description

      The CLI doesn't initialize the console when it is launched in the non-interactive mode. But the help content formatter relies on the current terminal width and height that are set to -1 in the non-interactive mode.

      So, the console should be initialized on demand/lazily in these cases.

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            olubyans@redhat.com Alexey Loubyansky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: