Fix typo "traffic_status"

This commit is contained in:
Sarina
2024-07-22 17:11:36 +03:30
parent f515a881a7
commit c8f125f7c1
2 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,6 @@ def cli():
@cli.command('install-hysteria2') @cli.command('install-hysteria2')
@click.option('--port','-p', required=True, help='New port for Hysteria2',type=int,callback=validator.validate_port) @click.option('--port','-p', required=True, help='New port for Hysteria2',type=int,callback=validator.validate_port)
def install_hysteria2(port:int): def install_hysteria2(port:int):
print(f"bash {Command.INSTALL_HYSTERIA2.value} {str(port)}")
run_cmd(['bash', Command.INSTALL_HYSTERIA2.value, str(port)]) run_cmd(['bash', Command.INSTALL_HYSTERIA2.value, str(port)])

View File

@ -169,7 +169,7 @@ hysteria2_menu() {
2) hysteria2_add_user_handler ;; 2) hysteria2_add_user_handler ;;
3) hysteria2_modify_users ;; 3) hysteria2_modify_users ;;
4) hysteria2_show_user_uri_handler ;; 4) hysteria2_show_user_uri_handler ;;
5) python3 $CLI_PATH traffic_status ;; 5) python3 $CLI_PATH traffic-status ;;
6) hysteria2_remove_user_handler ;; 6) hysteria2_remove_user_handler ;;
0) return ;; 0) return ;;
*) echo "Invalid option. Please try again." ;; *) echo "Invalid option. Please try again." ;;