[cli] Add --yes alias for -y

This commit is contained in:
derrod 2020-05-30 01:09:53 +02:00
parent 028c2ca4e0
commit 918841a743

View file

@ -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