more options

This commit is contained in:
j 2011-08-23 21:20:16 +02:00
commit bfe27b3848
2 changed files with 49 additions and 33 deletions

View file

@ -25,7 +25,7 @@ if __name__ == '__main__':
parser.print_help()
sys.exit()
actions = ('scan', 'extract', 'sync', 'clean')
actions = ('scan', 'sync', 'upload', 'extract', 'clean')
if not args or args[0] not in actions:
parser.error('you must specify a valid action. \n\t\tknown actions are: %s' % ', '.join(actions))