mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-19 00:58:56 +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',
|
parser.add_argument('-a', '--alias',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
help='[custom-alias-name] prints alias for current shell')
|
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',
|
parser.add_argument('command',
|
||||||
nargs='*',
|
nargs='*',
|
||||||
help='command that should be fixed')
|
help='command that should be fixed')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user