s/weboobcfg/weboob-config

This commit is contained in:
Christophe Benz 2010-07-29 19:25:17 +02:00
commit d0ccc88201
2 changed files with 4 additions and 4 deletions

View file

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

View file

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