1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-20 09:39:01 +00:00

Add fuck --hard as alternative to fuck --yeah

This commit is contained in:
FabianVanD 2019-10-03 17:09:25 +02:00
parent 3bbd0e9463
commit b3299ea7e1

View File

@ -55,7 +55,7 @@ class Parser(object):
"""It's too dangerous to use `-y` and `-r` together.""" """It's too dangerous to use `-y` and `-r` together."""
group = self._parser.add_mutually_exclusive_group() group = self._parser.add_mutually_exclusive_group()
group.add_argument( group.add_argument(
'-y', '--yes', '--yeah', '-y', '--yes', '--yeah', '--hard'
action='store_true', action='store_true',
help='execute fixed command without confirmation') help='execute fixed command without confirmation')
group.add_argument( group.add_argument(