mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 04:46:34 -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()
|
||||
|
||||
elif arg_count == 2 and arg_start == 1:
|
||||
if arg_count == 1:
|
||||
success_flag = True
|
||||
read_shortcut()
|
||||
elif arguments[1] == 'gen':
|
||||
if arguments[1] == 'gen':
|
||||
success_flag, sync_flag = True, True
|
||||
gen()
|
||||
elif arguments[1] == 'shear':
|
||||
success_flag, sync_flag = True, True
|
||||
remove_data()
|
||||
|
||||
elif arg_count == 1 and arg_start == 1:
|
||||
success_flag = True
|
||||
read_shortcut()
|
||||
|
||||
elif arg_count == 0: # server arguments
|
||||
if arg_count > 1 and arguments[0] == 'whitelist':
|
||||
if arguments[1] in ('list', '-l'):
|
||||
|
||||
Reference in New Issue
Block a user