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:
parent
51415a5cb1
commit
b647ad9020
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user