From a7f1a6bf2c1cc707f6b8bf7afc23adffabd6e8cd Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:58:21 +0330 Subject: [PATCH] Update Get User --- core/cli.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/cli.py b/core/cli.py index 3a1770a..913796b 100644 --- a/core/cli.py +++ b/core/cli.py @@ -100,12 +100,8 @@ def change_hysteria2_port(port: int): @cli.command('get-user') @click.option('--username', '-u', required=True, help='Username for the user to get', type=str) -@click.option('--no-traffic', '-t', is_flag=True, help='Do not display traffic information') -def get_user(username: str, no_traffic: bool): +def get_user(username: str): cmd = ['bash', Command.GET_USER.value, '-u', str(username)] - if no_traffic: - cmd.append('-t') - run_cmd(cmd) @cli.command('add-user')