jp (pubsub/node/create): fixed --field option
This commit is contained in:
parent
06d5346714
commit
d847301c70
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class NodeCreate(base.CommandBase):
|
|||
|
||||
def add_parser_options(self):
|
||||
self.parser.add_argument("-f", "--field", type=base.unicode_decoder, action='append', nargs=2, dest='fields',
|
||||
default={}, metavar=(u"KEY", u"VALUE"), help=_(u"configuration field to set"))
|
||||
default=[], metavar=(u"KEY", u"VALUE"), help=_(u"configuration field to set"))
|
||||
self.parser.add_argument("-F", "--full-prefix", action="store_true", help=_(u"don't prepend \"pubsub#\" prefix to field names"))
|
||||
|
||||
def psNodeCreateCb(self, node_id):
|
||||
|
|
|
|||
Loading…
Reference in a new issue