Commit d0ccc882 authored by Christophe Benz's avatar Christophe Benz

s/weboobcfg/weboob-config

parent f95aab90
......@@ -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:
......
......@@ -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 <name> [options..]')
logging.error(u'You can configure a backends using the "weboob-config add" command:\nweboob-config add <name> [options..]')
sys.exit(0)
def parse_id(self, _id):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment