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

Bad --help output for enable and disable from add-user utility.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.CR1
    • None
    • Scripts
    • None

      The following is the output from add-user.sh --help

      [darranl@localhost bin]$ ./add-user.sh --help
      Usage: ./add-user.sh [args...]
      where args include:
          -a                                  If set add an application user instead 
                                              of a management user
      
          -dc <value>                         Define the location of the domain 
                                              config directory.
      
          -sc <value>                         Define the location the server config 
                                              directory.
      
          -up, --user-properties <value>      The file name of the user properties 
                                              file which can be an absolute path.
      
          -g, --group <value>                 Comma-separated list of groups for the 
                                              user.
      
          -gp, --group-properties <value>     The file name of the group properties 
                                              file which can be an absolute path. (If 
                                              group properties is specified then user 
                                              properties MUST also be specified).
      
          -p, --password <value>              Password of the user. Should not be 
                                              same as the username
      
          -u, --user <value>                  Name of the user
      
          -r, --realm <value>                 Name of the realm used to secure the 
                                              management interfaces (default is 
                                              "ManagementRealm")
      
          -s, --silent                        Activate the silent mode (no output to 
                                              the console)
      
          -e, --enable                        Activate the silent mode (no output to 
                                              the console)
      
          -d, --disable                       Activate the silent mode (no output to 
                                              the console)
      
          -cw, --confirm-warning              Automatically confirm warning in 
                                              interactive mode
      
          -h, --help                          Display this message and exit
      

      Enable and Disable need their descriptions updating as they are copied from a previous description.

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: