Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-933

Embedded server start commands are lacking argument validation

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Done
    • 2.0.0.Beta4
    • 2.0.0.CR2
    • CLI, Management
    • None

    Description

      Commands for starting embedded instances are lacking argument validation.

      [disconnected /] embed-server foo
      [standalone@embedded /]
      
      [disconnected /] embed-server foo -foo
      [standalone@embedded /]
      
      [disconnected /] embed-server foo --foo
      [standalone@embedded /]
      
      [standalone@embedded /] stop-embedded-server foo
      The command accepts 0 unnamed argument(s) but received: [foo]
      
      [standalone@embedded /] stop-embedded-server -foo
      Unrecognized arguments: [-foo]
      
      [standalone@embedded /] stop-embedded-server --foo
      Unrecognized arguments: [--foo]

      Same case for embedded host controller.

      Attachments

        Issue Links

          Activity

            People

              kwills@redhat.com Ken Wills
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: