diff --git a/thefuck/argument_parser.py b/thefuck/argument_parser.py index 8e79fc0a..795c2ee9 100644 --- a/thefuck/argument_parser.py +++ b/thefuck/argument_parser.py @@ -46,6 +46,10 @@ class Parser(object): '--force-command', action='store', help=SUPPRESS) + self._parser.add_argument( + 'off', + action='store_true', + help='') self._parser.add_argument( 'command', nargs='*', diff --git a/thefuck/entrypoints/main.py b/thefuck/entrypoints/main.py index 63f9d8c9..1ea1e3a1 100644 --- a/thefuck/entrypoints/main.py +++ b/thefuck/entrypoints/main.py @@ -16,7 +16,9 @@ def main(): parser = Parser() known_args = parser.parse(sys.argv) - if known_args.help: + if known_args.off: + logs.failed('KTHXBAI') + elif known_args.help: parser.print_help() elif known_args.version: logs.version(get_installation_info().version,