mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Add --yes alias for -y
This commit is contained in:
parent
028c2ca4e0
commit
918841a743
|
@ -856,7 +856,7 @@ def main():
|
|||
|
||||
# general arguments
|
||||
parser.add_argument('-v', dest='debug', action='store_true', help='Set loglevel to debug')
|
||||
parser.add_argument('-y', dest='yes', action='store_true', help='Default to yes for all prompts')
|
||||
parser.add_argument('-y', '--yes', dest='yes', action='store_true', help='Default to yes for all prompts')
|
||||
parser.add_argument('-V', dest='version', action='store_true', help='Print version and exit')
|
||||
|
||||
# all the commands
|
||||
|
|
Loading…
Reference in a new issue