1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 14:48:49 +00:00

start work on -y

This commit is contained in:
Haroen Viaene 2016-07-25 20:22:33 +02:00
parent 51415a5cb1
commit b647ad9020

View File

@ -72,6 +72,11 @@ def main():
parser.add_argument('-a', '--alias',
action='store_true',
help='[custom-alias-name] prints alias for current shell')
parser.add_argument('-y',
# somehow put settings.require_confirmation: False
# Then execute command
action='command',
help='executes the fixed command without confirmation')
parser.add_argument('command',
nargs='*',
help='command that should be fixed')