shadowsocks-libev: ss-rules: rename usage func
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 21 Aug 2017 03:41:13 +0000 (11:41 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Tue, 22 Aug 2017 11:52:14 +0000 (19:52 +0800)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/shadowsocks-libev/files/ss-rules

index 66036043478b452be3dbc906aeaa4ce875bf4611..855ba9d31b88eada0630314ef9bb1cd8c85dc2bf 100755 (executable)
@@ -8,7 +8,7 @@
 # See /LICENSE for more information.
 #
 
-ss_usage() {
+ss_rules_usage() {
        cat >&2 <<EOF
 Usage: ss-rules [options]
 
@@ -79,7 +79,7 @@ __errmsg() {
 ss_rules_parse_args() {
        while [ "$#" -gt 0 ]; do
                case "$1" in
-                       -h|--help) ss_usage; exit 0;;
+                       -h|--help) ss_rules_usage; exit 0;;
                        -f|--flush) ss_rules_flush; exit 0;;
                        -l) o_redir_tcp_port="$2"; shift 2;;
                        -L) o_redir_udp_port="$2"; shift 2;;