diff --git a/weboob/applications/weboobcfg/weboobcfg.py b/weboob/applications/weboobcfg/weboobcfg.py index 117c317d..946e326d 100644 --- a/weboob/applications/weboobcfg/weboobcfg.py +++ b/weboob/applications/weboobcfg/weboobcfg.py @@ -30,7 +30,7 @@ __all__ = ['WeboobCfg'] class WeboobCfg(ConsoleApplication): - APPNAME = 'weboobcfg' + APPNAME = 'weboob-config' VERSION = '0.1' COPYRIGHT = 'Copyright(C) 2010 Christophe Benz, Romain Bignon' @@ -81,7 +81,7 @@ class WeboobCfg(ConsoleApplication): try: self.weboob.backends_config.add_backend(name, name, params) print u'Backend "%s" successfully added to file "%s".\n'\ - 'Please check configuration parameters values with "weboobcfg edit".' % ( + 'Please check configuration parameters values with "weboob-config edit".' % ( name, self.weboob.backends_config.confpath) except ConfigParser.DuplicateSectionError: print u'Backend "%s" is already configured in file "%s"' % (name, self.weboob.backends_config.confpath) @@ -94,7 +94,7 @@ class WeboobCfg(ConsoleApplication): try: self.weboob.backends_config.add_backend(new_name, name, params) print u'Backend "%s" successfully added to file "%s".\n'\ - 'Please check configuration parameters values with "weboobcfg edit".' % ( + 'Please check configuration parameters values with "weboob-config edit".' % ( name, self.weboob.backends_config.confpath) break except ConfigParser.DuplicateSectionError: diff --git a/weboob/tools/application/console.py b/weboob/tools/application/console.py index 3bb8293e..d14c43f6 100644 --- a/weboob/tools/application/console.py +++ b/weboob/tools/application/console.py @@ -256,7 +256,7 @@ class ConsoleApplication(BaseApplication): caps = (caps,) caps = iter(cap.__name__ for cap in caps) weboobcfg.command_backends(*caps) - logging.error(u'You can configure a backends using the "weboobcfg add" command:\nweboobcfg add [options..]') + logging.error(u'You can configure a backends using the "weboob-config add" command:\nweboob-config add [options..]') sys.exit(0) def parse_id(self, _id):