comparison frontends/src/jp/cmd_invitation.py @ 2250:6c1070ae1b7d

jp (invitation): fixed typo
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 19:57:46 +0200
parents a41a4729c2d8
children 45b89d7c5c81
comparison
equal deleted inserted replaced
2249:e572482f6cbd 2250:6c1070ae1b7d
43 self.parser.add_argument("-l", "--lang", type=base.unicode_decoder, default='', help='main language spoken by the invitee') 43 self.parser.add_argument("-l", "--lang", type=base.unicode_decoder, default='', help='main language spoken by the invitee')
44 self.parser.add_argument("-u", "--url", type=base.unicode_decoder, default='', help='template to construt the URL') 44 self.parser.add_argument("-u", "--url", type=base.unicode_decoder, default='', help='template to construt the URL')
45 self.parser.add_argument("-s", "--subject", type=base.unicode_decoder, default='', help='subject of the invitation email (default: generic subject)') 45 self.parser.add_argument("-s", "--subject", type=base.unicode_decoder, default='', help='subject of the invitation email (default: generic subject)')
46 self.parser.add_argument("-b", "--body", type=base.unicode_decoder, default='', help='body of the invitation email (default: generic body)') 46 self.parser.add_argument("-b", "--body", type=base.unicode_decoder, default='', help='body of the invitation email (default: generic body)')
47 self.parser.add_argument("-x", "--extra", metavar=('KEY', 'VALUE'), type=base.unicode_decoder, action='append', nargs=2, default=[], help='extra data to associate with invitation/invitee') 47 self.parser.add_argument("-x", "--extra", metavar=('KEY', 'VALUE'), type=base.unicode_decoder, action='append', nargs=2, default=[], help='extra data to associate with invitation/invitee')
48 self.parser.add_argument("-p", "--profile", type=base.unicode_decoder, default='', help="profile doing the invitation (default: don't associate profile") 48 self.parser.add_argument("-p", "--profile", type=base.unicode_decoder, default='', help="profile doing the invitation (default: don't associate profile)")
49 49
50 def invitationCreateCb(self, invitation_data): 50 def invitationCreateCb(self, invitation_data):
51 self.output(invitation_data) 51 self.output(invitation_data)
52 self.host.quit(C.EXIT_OK) 52 self.host.quit(C.EXIT_OK)
53 53