scripts/shells/alias.php:

- fixed help() output


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1144 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 14 years ago
parent 0a2f73e51a
commit d01bf7d0c4

@ -122,11 +122,11 @@ class AddTask extends Shell {
*/
function help() {
$this->hr();
$this->out("Usage: postfixadmin-cli user add <address> [<password>] <name> <quota> [-g]");
$this->out("Usage: postfixadmin-cli alias add <address> <goto>");
$this->hr();
$this->out('Commands:');
$this->out("\n\tadd\n\t\tAdds mailbox in interactive mode.");
$this->out("\n\tadd <address> [<password>] [-g] <name> <quota>\n\t\tAdds mailbox for <address> with password <password> of if -g with rand pw. <quota> in MB.");
$this->out("\n\tadd\n\t\tAdds alias in interactive mode.");
$this->out("\n\tadd <address> <goto>\n\t\tAdds an alias <address> -> <goto>\n\t\t<goto> accepts multiple addresses as comma-separated list.");
$this->out("");
$this->_stop();
}

Loading…
Cancel
Save