allow multiple commands

This commit is contained in:
bkfox 2016-01-07 15:45:29 +01:00
parent 039bd7dfd1
commit a1fe0b2f93

View File

@ -177,10 +177,8 @@ class Command (BaseCommand):
if options.get('update'):
Actions.update(date, mode = options.get('mode'))
elif options.get('clean'):
if options.get('clean'):
Actions.clean(date)
elif options.get('check'):
if options.get('check'):
Actions.check(date)
else:
raise CommandError('no action has been given')