jp: "disco" subcommand, moved into a new "info" subcommand + added "version" subcommand which get software version

This commit is contained in:
Goffi 2014-04-02 12:31:15 +02:00
commit ec08d50aba

View file

@ -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)