From c8f125f7c176ebd1650c7140151f803baeac48ae Mon Sep 17 00:00:00 2001 From: Sarina Date: Mon, 22 Jul 2024 17:11:36 +0330 Subject: [PATCH] Fix typo "traffic_status" --- core/cli.py | 1 - menu.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/cli.py b/core/cli.py index f8fce50..d9a4f89 100644 --- a/core/cli.py +++ b/core/cli.py @@ -61,7 +61,6 @@ def cli(): @cli.command('install-hysteria2') @click.option('--port','-p', required=True, help='New port for Hysteria2',type=int,callback=validator.validate_port) def install_hysteria2(port:int): - print(f"bash {Command.INSTALL_HYSTERIA2.value} {str(port)}") run_cmd(['bash', Command.INSTALL_HYSTERIA2.value, str(port)]) diff --git a/menu.sh b/menu.sh index 76e9f6a..abaf7f4 100644 --- a/menu.sh +++ b/menu.sh @@ -169,7 +169,7 @@ hysteria2_menu() { 2) hysteria2_add_user_handler ;; 3) hysteria2_modify_users ;; 4) hysteria2_show_user_uri_handler ;; - 5) python3 $CLI_PATH traffic_status ;; + 5) python3 $CLI_PATH traffic-status ;; 6) hysteria2_remove_user_handler ;; 0) return ;; *) echo "Invalid option. Please try again." ;;