From 84243e7deb91911737be0e74db6b040e8dcaba1e Mon Sep 17 00:00:00 2001 From: xXraxFraeyXx Date: Thu, 31 Oct 2019 21:40:45 +0100 Subject: [PATCH] Cleaned formatting a bit and added more Command Aliases (i really love this project and want to contribute to it) --- thefuck/argument_parser.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/thefuck/argument_parser.py b/thefuck/argument_parser.py index 69c247f1..9f5066f5 100644 --- a/thefuck/argument_parser.py +++ b/thefuck/argument_parser.py @@ -5,11 +5,10 @@ from .utils import get_alias class Parser(object): - """Argument parser that can handle arguments with our special - placeholder. - """ - + Argument parser that can handle arguments with our special + placeholder. + """ def __init__(self): self._parser = ArgumentParser(prog='thefuck', add_help=False) self._add_arguments() @@ -17,7 +16,7 @@ class Parser(object): def _add_arguments(self): """Adds arguments to parser.""" self._parser.add_argument( - '-v', '--version', + '-v', '--version', '--show-version' action='store_true', help="show program's version number and exit") self._parser.add_argument(