mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 14:48:49 +00:00
don't add an argument to the main program
should be added to the shell functions instead
This commit is contained in:
parent
b647ad9020
commit
ff5372e288
@ -72,11 +72,6 @@ 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