Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-450

required boolean value has wrong value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha1
    • None
    • None
    • None

      @Option(name = "reset-configuration", hasValue = true, required = true)
      private boolean resetConfiguration;

      When calling the command: cmd1 --reset-configuration= <Return>

      ==> The command is executed, the resetConfiguration has a value of false.

      The command shouldn't be executed, warning for a required value true/false.

              spederse@redhat.com Stale Pedersen
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: