jp (file/share/list): fixed default value for jid

This commit is contained in:
Goffi 2018-05-25 10:52:01 +02:00
commit 0840442c2a

View file

@ -380,7 +380,7 @@ class ShareList(base.CommandBase):
def add_parser_options(self):
self.parser.add_argument("-d", "--path", default=u'', help=_(u"path to the directory containing the files"))
self.parser.add_argument("jid", type=base.unicode_decoder, nargs='?', help=_("jid of sharing entity (nothing to check our own jid)"))
self.parser.add_argument("jid", type=base.unicode_decoder, nargs='?', default='', help=_("jid of sharing entity (nothing to check our own jid)"))
def file_gen(self, files_data):
for file_data in files_data: