equal
deleted
inserted
replaced
439 |
439 |
440 |
440 |
441 def user_name(ctx): |
441 def user_name(ctx): |
442 """set or update the real name for an address""" |
442 """set or update the real name for an address""" |
443 if ctx.argc < 3: |
443 if ctx.argc < 3: |
444 usage(EX_MISSING_ARGS, _(u'Missing e-mail address and user’s name.'), |
444 usage(EX_MISSING_ARGS, _(u"Missing e-mail address and user's name."), |
445 ctx.scmd) |
445 ctx.scmd) |
446 if ctx.argc < 4: |
446 if ctx.argc < 4: |
447 usage(EX_MISSING_ARGS, _(u'Missing user’s name.'), ctx.scmd) |
447 usage(EX_MISSING_ARGS, _(u"Missing user's name."), ctx.scmd) |
448 ctx.hdlr.user_name(ctx.args[2].lower(), ctx.args[3]) |
448 ctx.hdlr.user_name(ctx.args[2].lower(), ctx.args[3]) |
449 |
449 |
450 |
450 |
451 def user_password(ctx): |
451 def user_password(ctx): |
452 """update the password for the given address""" |
452 """update the password for the given address""" |