Add rerun-all and rerun-from arguments

Former-commit-id: c25388b0c2
pull/1161/head
Dakota Benjamin 2016-02-25 10:18:48 -05:00
rodzic 37bc2d2add
commit a653347976
1 zmienionych plików z 17 dodań i 5 usunięć

Wyświetl plik

@ -29,10 +29,22 @@ parser.add_argument('--end-with', '-e',
choices=processopts,
help=('Can be one of:' + ' | '.join(processopts)))
parser.add_argument('--rerun', '-r',
metavar='<string>',
choices=processopts,
help=('Can be one of:' + ' | '.join(processopts)))
rerun = parser.add_mutually_exclusive_group()
rerun.add_argument('--rerun', '-r',
metavar='<string>',
choices=processopts,
help=('Can be one of:' + ' | '.join(processopts)))
rerun.add_argument('--rerun-all',
action='store_true',
default=False,
help='force rerun of all tasks')
rerun.add_argument('--rerun-from',
metavar='<string>',
choices=processopts,
help=('Can be one of:' + ' | '.join(processopts)))
parser.add_argument('--force-focal',
metavar='<positive float>',
@ -59,7 +71,7 @@ parser.add_argument('--matcher-threshold',
type=float,
help=('Ignore matched keypoints if the two images share '
'less than <float> percent of keypoints. Default:'
' $(default)s'))
' $(default)s'))
parser.add_argument('--matcher-ratio',
metavar='<float>',