Add option to repeat the command

This commit is contained in:
mzfr
2020-03-12 19:05:07 +05:30
parent 29a6935129
commit 35800dd0f2
2 changed files with 15 additions and 4 deletions

View File

@@ -438,6 +438,11 @@ class InputParser(object):
help='If set then progress bar will be stripped out'
)
parser.add_argument(
'--repeat', dest='repeat',
help='repeat the given command x number of times.'
)
output_types = parser.add_mutually_exclusive_group()
output_types.add_argument(
'-v', '--verbose', dest='verbose', action='store_true', default=False,