vmm
changeset 76 14c0a092d7d2
parent 73 11da3d9298b4
child 78 8f1e501b1bb1
equal deleted inserted replaced
75:af813ede1e19 76:14c0a092d7d2
   315     else:
   315     else:
   316         password = argv[3]
   316         password = argv[3]
   317     vmm.userPassword(argv[2].lower(), password)
   317     vmm.userPassword(argv[2].lower(), password)
   318 
   318 
   319 def alias_add():
   319 def alias_add():
   320     if argc < 4:
   320     if argc < 3:
   321         usage(EXIT.MISSING_ARGS, _(u'Missing alias address and destination.'))
   321         usage(EXIT.MISSING_ARGS, _(u'Missing alias address and destination.'))
       
   322     elif argc < 4:
       
   323         usage(EXIT.MISSING_ARGS, _(u'Missing destination address.'))
   322     else:
   324     else:
   323         vmm.aliasAdd(argv[2].lower(), argv[3])
   325         vmm.aliasAdd(argv[2].lower(), argv[3])
   324 
   326 
   325 def alias_info():
   327 def alias_info():
   326     if argc < 3:
   328     if argc < 3: