diff --git a/weboob/applications/weboobcfg/weboobcfg.py b/weboob/applications/weboobcfg/weboobcfg.py index 1a7a463d..fc74b6b3 100644 --- a/weboob/applications/weboobcfg/weboobcfg.py +++ b/weboob/applications/weboobcfg/weboobcfg.py @@ -46,6 +46,9 @@ class WeboobCfg(ReplApplication): Add a configured backend. """ + if not line: + print >>sys.stderr, 'You must specify a backend name. Hint: use the "backends" command.' + return name, options = self.parseargs(line, 2, 1) if options: options = options.split(' ')