mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 16:47:14 -04:00
Fixed a regression causing server arguments to be unusable
Former-commit-id: 89be58bc3a1ce059a4fbbe69a5a36498808f5f04 Former-commit-id: bc6d77c6b4c848905acf155d11a49283025941ff
This commit is contained in:
+5
-2
@@ -838,8 +838,11 @@ if __name__ == "__main__":
|
|||||||
success_flag = True
|
success_flag = True
|
||||||
read_shortcut()
|
read_shortcut()
|
||||||
|
|
||||||
elif arg_count == 0: # server arguments
|
else: # server arguments
|
||||||
if arg_count > 1 and arguments[0] == 'whitelist':
|
if arg_count < 1:
|
||||||
|
arguments.append('help')
|
||||||
|
print_info()
|
||||||
|
elif arg_count > 1 and arguments[0] == 'whitelist':
|
||||||
if arguments[1] in ('list', '-l'):
|
if arguments[1] in ('list', '-l'):
|
||||||
success_flag = True
|
success_flag = True
|
||||||
whitelist_list()
|
whitelist_list()
|
||||||
|
|||||||
Reference in New Issue
Block a user