add extract all/extract offline modes

This commit is contained in:
j 2012-01-04 13:45:10 +05:30
commit 73e82cca92
2 changed files with 60 additions and 46 deletions

View file

@ -25,7 +25,7 @@ if __name__ == '__main__':
parser.print_help()
sys.exit()
actions = ('scan', 'sync', 'upload', 'extract', 'extract_offline', 'clean', 'cmd')
actions = ('scan', 'sync', 'upload', 'extract', 'clean', 'cmd')
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))