Add skewer-case aliases for snake_case arguments.
This commit is contained in:
parent
8fa87f6c3c
commit
1949fe6533
1 changed files with 1 additions and 1 deletions
|
@ -985,7 +985,7 @@ def main(argv):
|
||||||
p_measure = subparsers.add_parser('measure')
|
p_measure = subparsers.add_parser('measure')
|
||||||
p_measure.add_argument('databasename')
|
p_measure.add_argument('databasename')
|
||||||
p_measure.add_argument('-f', '--fullscan', dest='fullscan', action='store_true')
|
p_measure.add_argument('-f', '--fullscan', dest='fullscan', action='store_true')
|
||||||
p_measure.add_argument('-n', '--new_only', dest='new_only', action='store_true')
|
p_measure.add_argument('-n', '--new_only', '--new-only', dest='new_only', action='store_true')
|
||||||
p_measure.add_argument('-t', '--threads', dest='threads', default=1)
|
p_measure.add_argument('-t', '--threads', dest='threads', default=1)
|
||||||
p_measure.set_defaults(func=measure_argparse)
|
p_measure.set_defaults(func=measure_argparse)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue