mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 16:47:14 -04:00
Fixed the read shortcut showing the help menu
Former-commit-id: 52a2e39bf3449cdaa82ef6c4f224e8f78c103528 Former-commit-id: c7a99441eaca0b3306b4b11e3ae61053a002ef02
This commit is contained in:
+5
-4
@@ -827,16 +827,17 @@ if __name__ == "__main__":
|
|||||||
gen()
|
gen()
|
||||||
|
|
||||||
elif arg_count == 2 and arg_start == 1:
|
elif arg_count == 2 and arg_start == 1:
|
||||||
if arg_count == 1:
|
if arguments[1] == 'gen':
|
||||||
success_flag = True
|
|
||||||
read_shortcut()
|
|
||||||
elif arguments[1] == 'gen':
|
|
||||||
success_flag, sync_flag = True, True
|
success_flag, sync_flag = True, True
|
||||||
gen()
|
gen()
|
||||||
elif arguments[1] == 'shear':
|
elif arguments[1] == 'shear':
|
||||||
success_flag, sync_flag = True, True
|
success_flag, sync_flag = True, True
|
||||||
remove_data()
|
remove_data()
|
||||||
|
|
||||||
|
elif arg_count == 1 and arg_start == 1:
|
||||||
|
success_flag = True
|
||||||
|
read_shortcut()
|
||||||
|
|
||||||
elif arg_count == 0: # server arguments
|
elif arg_count == 0: # server arguments
|
||||||
if arg_count > 1 and arguments[0] == 'whitelist':
|
if arg_count > 1 and arguments[0] == 'whitelist':
|
||||||
if arguments[1] in ('list', '-l'):
|
if arguments[1] in ('list', '-l'):
|
||||||
|
|||||||
Reference in New Issue
Block a user