From 19c868242a66d62de167b45e6f4da31f8ca431eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=B4=E5=A8=83=E9=85=B1?= Date: Sun, 18 Jun 2017 15:43:46 +0800 Subject: [PATCH] update mujson_mgr.py usage info --- mujson_mgr.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mujson_mgr.py b/mujson_mgr.py index 47e91a6..2eb05d5 100644 --- a/mujson_mgr.py +++ b/mujson_mgr.py @@ -214,11 +214,11 @@ def print_server_help(): print('''usage: python mujson_manage.py -a|-d|-e|-c|-l [OPTION]... Actions: - -a ADD add/edit a user - -d DELETE delete a user - -e EDIT edit a user - -c CLEAR set u/d to zero - -l LIST display a user infomation or all users infomation + -a add/edit a user + -d delete a user + -e edit a user + -c set u&d to zero + -l display a user infomation or all users infomation Options: -u USER the user name @@ -232,6 +232,8 @@ Options: -t TRANSFER max transfer for G bytes, default: 8388608 (8 PB or 8192 TB) -f FORBID set forbidden ports. Example (ban 1~79 and 81~100): -f "1-79,81-100" -i MUID set sub id to display (only work with -l) + -s SPEED set speed_limit_per_con + -S SPEED set speed_limit_per_user General options: -h, --help show this help message and exit