aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/reprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/gmg_commands/reprocess.py')
-rw-r--r--mediagoblin/gmg_commands/reprocess.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/mediagoblin/gmg_commands/reprocess.py b/mediagoblin/gmg_commands/reprocess.py
index 10ab50ab..4678ca6f 100644
--- a/mediagoblin/gmg_commands/reprocess.py
+++ b/mediagoblin/gmg_commands/reprocess.py
@@ -28,6 +28,11 @@ from mediagoblin.processing import (
def reprocess_parser_setup(subparser):
+ subparser.add_argument(
+ '--celery',
+ action='store_true',
+ help="Don't process eagerly, pass off to celery")
+
subparsers = subparser.add_subparsers(dest="reprocess_subcommand")
###################
@@ -66,10 +71,6 @@ def reprocess_parser_setup(subparser):
'--thumbnails',
action="store_true",
help="Regenerate thumbnails for all processed media")
- run_parser.add_argument(
- '--celery',
- action='store_true',
- help="Don't process eagerly, pass off to celery")
run_parser.add_argument(
'media_id',