Fix typo "traffic_status"
This commit is contained in:
@ -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)])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
menu.sh
2
menu.sh
@ -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." ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user