Browse Source

update mujson_mgr.py usage info

dev
破娃酱 8 years ago
parent
commit
19c868242a
  1. 12
      mujson_mgr.py

12
mujson_mgr.py

@ -214,11 +214,11 @@ def print_server_help():
print('''usage: python mujson_manage.py -a|-d|-e|-c|-l [OPTION]... print('''usage: python mujson_manage.py -a|-d|-e|-c|-l [OPTION]...
Actions: Actions:
-a ADD add/edit a user -a add/edit a user
-d DELETE delete a user -d delete a user
-e EDIT edit a user -e edit a user
-c CLEAR set u/d to zero -c set u&d to zero
-l LIST display a user infomation or all users infomation -l display a user infomation or all users infomation
Options: Options:
-u USER the user name -u USER the user name
@ -232,6 +232,8 @@ Options:
-t TRANSFER max transfer for G bytes, default: 8388608 (8 PB or 8192 TB) -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" -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) -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: General options:
-h, --help show this help message and exit -h, --help show this help message and exit

Loading…
Cancel
Save