diff --git a/README.md b/README.md index 4b282736..5db6b624 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ 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 `--yeah` option (or just `-y` for short): +To run fixed commands without confirmation, use the `--yeah` option (or just `-y` for short, or `--hard` if you're especially frustrated): ```bash fuck --yeah diff --git a/thefuck/argument_parser.py b/thefuck/argument_parser.py index b7b97837..69c247f1 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', '--yeah', + '-y', '--yes', '--yeah', '--hard', action='store_true', help='execute fixed command without confirmation') group.add_argument(