mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Fixed type hints
This commit is contained in:
parent
9ee8630a85
commit
faf95e5780
1 changed files with 2 additions and 2 deletions
|
@ -766,7 +766,7 @@ def main() -> None:
|
||||||
usage.help_short(1)
|
usage.help_short(1)
|
||||||
|
|
||||||
sub_menu = SubMenu(args)
|
sub_menu = SubMenu(args)
|
||||||
arguments_no_options: dict[str] = {
|
arguments_no_options: dict = {
|
||||||
'-h': sub_menu.help,
|
'-h': sub_menu.help,
|
||||||
'--help': sub_menu.help,
|
'--help': sub_menu.help,
|
||||||
'-v': sub_menu.version,
|
'-v': sub_menu.version,
|
||||||
|
@ -789,7 +789,7 @@ def main() -> None:
|
||||||
raise SystemExit(1)
|
raise SystemExit(1)
|
||||||
|
|
||||||
menu = Menu(args)
|
menu = Menu(args)
|
||||||
arguments: dict[str] = {
|
arguments: dict = {
|
||||||
'help': menu.help_for_commands,
|
'help': menu.help_for_commands,
|
||||||
'update': menu.update,
|
'update': menu.update,
|
||||||
'-u': menu.update,
|
'-u': menu.update,
|
||||||
|
|
Loading…
Reference in a new issue