diff --git a/domains_api/arg_parser.py b/domains_api/arg_parser.py index c58eb59..9453375 100644 --- a/domains_api/arg_parser.py +++ b/domains_api/arg_parser.py @@ -14,7 +14,7 @@ def __call__(self, parser, namespace, values, option_string=None): description=f"Domains DDNS API version {__VERSION__}", prog="domains-api" ) parser.add_argument( - "-i", "--ip", nargs=0, action=CLIAction, help="show current external IP address" + "-i", "--ip", action=CLIAction, help="show current external IP address" ) parser.add_argument( "-l", @@ -54,7 +54,6 @@ def __call__(self, parser, namespace, values, option_string=None): "-d", "--domain", action=CLIAction, - nargs=0, help="show the current domain", ) parser.add_argument( @@ -75,7 +74,6 @@ def __call__(self, parser, namespace, values, option_string=None): "-v", "--version", action=CLIAction, - nargs=0, help="show the current version", )