equal
deleted
inserted
replaced
341 |
341 |
342 |
342 |
343 def get_user(ctx): |
343 def get_user(ctx): |
344 """get the address of the user with the given UID""" |
344 """get the address of the user with the given UID""" |
345 if ctx.argc < 3: |
345 if ctx.argc < 3: |
346 usage(EX_MISSING_ARGS, _(u'Missing userid.'), ctx.scmd) |
346 usage(EX_MISSING_ARGS, _(u'Missing UID.'), ctx.scmd) |
347 _print_info(ctx, ctx.hdlr.user_by_uid(ctx.args[2]), _(u'Account')) |
347 _print_info(ctx, ctx.hdlr.user_by_uid(ctx.args[2]), _(u'Account')) |
348 |
348 |
349 |
349 |
350 def help_(ctx): |
350 def help_(ctx): |
351 """print help messages.""" |
351 """print help messages.""" |