Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1610

CLI usage doesn't output command names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • CLI
    • None

    Description

      Current output :

      usage: java org.apache.james.cli.ServerCmd --host <arg> <command>
                  
       -h,--host <arg>   node hostname or ip address
       -p,--port <arg>   remote jmx agent port number
       <username> <password>
      <username>
      <domainname>
      <domainname>
      <domainname>
      <user> <domain>
      <user> <domain> <fromaddress>
      <user> <domain> <fromaddress>
      <user> <domain> <regex>
      <user> <domain> <regex>
      <username> <password>
      <srcbean> <dstbean>
      <user>
      <namespace> <user> <name>
      <user>
      <namespace> <user> <name>
      

      Should be :

      usage: java org.apache.james.cli.ServerCmd --host <arg> <command>
                  
       -h,--host <arg>   node hostname or ip address
       -p,--port <arg>   remote jmx agent port number
      adduser <username> <password>
      removeuser <username>
      listusers
      adddomain <domainname>
      removedomain <domainname>
      containsdomain <domainname>
      listdomains
      listmappings
      listuserdomainmappings <user> <domain>
      addaddressmapping <user> <domain> <fromaddress>
      removeaddressmapping <user> <domain> <fromaddress>
      addregexmapping <user> <domain> <regex>
      removeregexmapping <user> <domain> <regex>
      setpassword <username> <password>
      copymailbox <srcbean> <dstbean>
      deleteusermailboxes <user>
      createmailbox <namespace> <user> <name>
      listusermailboxes <user>
      deletemailbox <namespace> <user> <name>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            matthieu Matthieu Baechler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: