# HG changeset patch # User Goffi # Date 1498761307 -7200 # Node ID 5b04fc0c663d5bed0e02e9b2a192d99c95205421 # Parent d8e48c850ad2be206fa600c8e997c8525d9b1a07 jp (pubsub/get): renamed --id option to --item for consistency with other commands diff -r d8e48c850ad2 -r 5b04fc0c663d frontends/src/jp/cmd_event.py --- a/frontends/src/jp/cmd_event.py Wed Jun 28 23:49:55 2017 +0200 +++ b/frontends/src/jp/cmd_event.py Thu Jun 29 20:35:07 2017 +0200 @@ -44,7 +44,7 @@ self.need_loop=True def add_parser_options(self): - self.parser.add_argument("-i", "--id", type=base.unicode_decoder, default=u'', help=_(u"ID of the PubSub Item")) + self.parser.add_argument("-i", "--item", type=base.unicode_decoder, default=u'', help=_(u"ID of the PubSub Item")) def eventInviteeGetCb(self, result): event_date, event_data = result @@ -56,7 +56,7 @@ self.host.bridge.eventGet( self.args.service, self.args.node, - self.args.id, + self.args.item, self.profile, callback=self.eventInviteeGetCb, errback=partial(self.errback,