Fixed the read shortcut showing the help menu

Former-commit-id: 52a2e39bf3449cdaa82ef6c4f224e8f78c103528
Former-commit-id: c7a99441eaca0b3306b4b11e3ae61053a002ef02
This commit is contained in:
2023-03-01 21:32:35 -05:00
parent 6649fce7d1
commit fbf5ac02a4
+5 -4
View File
@@ -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'):