Added logic to cli to use --help option for help command

This commit is contained in:
2021-04-12 19:43:55 +02:00
parent d94b25d9d8
commit 696c62292b
2 changed files with 19 additions and 3 deletions

View File

@@ -69,6 +69,9 @@ class Startup(StartupABC):
self._configuration.add_console_argument(ConsoleArgument('', 'uninstall', ['ui', 'UI'], ' '))
self._configuration.add_console_argument(ConsoleArgument('', 'update', ['u', 'U'], ''))
self._configuration.add_console_argument(ConsoleArgument('', 'version', ['v', 'V'], ''))
self._configuration.add_console_argument(ConsoleArgument('', '--help', ['-h', '-H'], ''))
self._configuration.add_console_arguments(error=False)
return self._configuration