diff --git a/README.md b/README.md index af3b06ad..c5e9cd25 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/thefuck/argument_parser.py b/thefuck/argument_parser.py index 8e79fc0a..b7b97837 100644 --- a/thefuck/argument_parser.py +++ b/thefuck/argument_parser.py @@ -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(