mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 02:01:13 +00:00
added --yeah as an alterative arg to -y and --yes; updated README.md (#822)
This commit is contained in:
parent
59745942b5
commit
142ef6e66c
@ -146,10 +146,10 @@ eval $(thefuck --alias FUCK)
|
||||
Changes are only available in a new shell session. To make changes immediately
|
||||
available, run `source ~/.bashrc` (or your shell config file like `.zshrc`).
|
||||
|
||||
To run fixed commands without confirmation, use the `-y` option:
|
||||
To run fixed commands without confirmation, use the `--yeah` option (or just `-y` for short):
|
||||
|
||||
```bash
|
||||
fuck -y
|
||||
fuck --yeah
|
||||
```
|
||||
|
||||
To fix commands recursively until succeeding, use the `-r` option:
|
||||
|
@ -55,7 +55,7 @@ class Parser(object):
|
||||
"""It's too dangerous to use `-y` and `-r` together."""
|
||||
group = self._parser.add_mutually_exclusive_group()
|
||||
group.add_argument(
|
||||
'-y', '--yes',
|
||||
'-y', '--yes', '--yeah',
|
||||
action='store_true',
|
||||
help='execute fixed command without confirmation')
|
||||
group.add_argument(
|
||||
|
Loading…
x
Reference in New Issue
Block a user