vmm
changeset 155 eb866ebb9f2e
parent 149 581a5680d0ef
child 156 a849843115e9
equal deleted inserted replaced
154:6e6488722807 155:eb866ebb9f2e
    30   adi   aliasdomaininfo    aliasdomain.tld
    30   adi   aliasdomaininfo    aliasdomain.tld
    31   ads   aliasdomainswitch  aliasdomain.tld    domain.tld
    31   ads   aliasdomainswitch  aliasdomain.tld    domain.tld
    32   add   aliasdomaindelete  aliasdomain.tld
    32   add   aliasdomaindelete  aliasdomain.tld
    33   ua    useradd            user@domain.tld    password*
    33   ua    useradd            user@domain.tld    password*
    34   ui    userinfo           user@domain.tld    details*
    34   ui    userinfo           user@domain.tld    details*
    35   un    username           user@domain.tld    'Users Name'
    35   un    username           user@domain.tld    "user’s name"
    36   up    userpassword       user@domain.tld    password*
    36   up    userpassword       user@domain.tld    password*
    37   ut    usertransport      user@domain.tld    transport
    37   ut    usertransport      user@domain.tld    transport
    38   u0    userdisable        user@domain.tld    service*
    38   u0    userdisable        user@domain.tld    service*
    39   u1    userenable         user@domain.tld    service*
    39   u1    userenable         user@domain.tld    service*
    40   ud    userdelete         user@domain.tld    delalias*
    40   ud    userdelete         user@domain.tld    delalias*
   314         else:
   314         else:
   315             raise e
   315             raise e
   316 
   316 
   317 def user_name():
   317 def user_name():
   318     if argc < 3:
   318     if argc < 3:
   319         usage(EXIT.MISSING_ARGS, _(u'Missing e-mail address and users name.'))
   319         usage(EXIT.MISSING_ARGS, _(u'Missing e-mail address and user’s name.'))
   320     if argc < 4:
   320     if argc < 4:
   321         usage(EXIT.MISSING_ARGS, _('Missing users name.'))
   321         usage(EXIT.MISSING_ARGS, _(u'Missing user’s name.'))
   322     else:
   322     else:
   323         vmm.userName(argv[2].lower(), argv[3])
   323         vmm.userName(argv[2].lower(), argv[3])
   324 
   324 
   325 def user_transport():
   325 def user_transport():
   326     if argc < 3:
   326     if argc < 3: