From 9a36160c6d04abd060f36a6c35124efa5272fa36 Mon Sep 17 00:00:00 2001 From: postscriptum Date: Sun, 22 Mar 2026 21:42:16 +0200 Subject: [PATCH] update documentation --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b5308d4..9abdd48 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,15 @@ Experimental async SOCKS5 (TCP/UDP) proxy server based on [fast-socks5](https:// ## Usage ``` bash -RUST_LOG=trace cargo run -- -a=http://localhost/allow.txt \ - -a=/path/to/allow.txt \ - -c=/path/to/cache.txt \ +RUST_LOG=trace cargo run -- --allow=http://localhost/allow.txt \ + --allow=/path/to/allow.txt \ + --cache=/path/to/cache.txt \ no-auth ``` * set `socks5://127.0.0.1:1080` proxy in your application -* open http://127.0.0.1:8010 in browser for global stats: - * `/allow/domain.com` - add rule to the current session - * `/block/domain.com` - delete rule from the current session +* open http://127.0.0.1:8010 in browser for stats: + * `/allow/domain.com` - add rule to the current session (and `--cache` if defined) + * `/block/domain.com` - delete rule from the current session (and `--cache` if defined) ### Allow list example