This commit is contained in:
Stef Pletinck 2023-09-22 22:48:39 -04:00 committed by GitHub
commit c809000efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -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='*',

View File

@ -17,7 +17,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_version(),