VirtualMailManager/cli/subcommands.py
branchv0.6.x
changeset 423 a43a2e20de71
parent 420 d4a341248500
child 429 9842650569c2
--- a/VirtualMailManager/cli/subcommands.py	Thu Mar 10 19:34:28 2011 +0000
+++ b/VirtualMailManager/cli/subcommands.py	Sun Jul 31 22:14:02 2011 +0000
@@ -441,7 +441,7 @@
     else:
         password = ctx.args[3]
     gen_pass = ctx.hdlr.user_add(ctx.args[2].lower(), password)
-    if gen_pass:
+    if ctx.argc < 4 and gen_pass:
         w_std(_(u"Generated password: %s") % gen_pass)