jp: "disco" subcommand, moved into a new "info" subcommand + added "version" subcommand which get software version
This commit is contained in:
parent
647487fc1d
commit
ec08d50aba
1 changed files with 61 additions and 7 deletions
|
|
@ -223,8 +223,8 @@ class Jp(object):
|
|||
"""
|
||||
# FIXME: need better exit codes
|
||||
|
||||
def cant_connect():
|
||||
error(_(u"Can't connect profile"))
|
||||
def cant_connect(failure):
|
||||
error(_(u"Can't connect profile [%s]") % failure)
|
||||
self.quit(1)
|
||||
|
||||
self.profile = self.bridge.getProfileName(self.args.profile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue