From ebf5fcf377ab075150db287fa4c0d7fbcbfe2892 Mon Sep 17 00:00:00 2001 From: Sunshine Date: Mon, 29 Aug 2022 18:29:20 -0400 Subject: [PATCH] do not show support for IPs and port numbers in domain lists --- src/opts.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/opts.rs b/src/opts.rs index 5f57a07..89d59e0 100644 --- a/src/opts.rs +++ b/src/opts.rs @@ -52,9 +52,7 @@ impl Options { .args_from_usage("-b, --base-url=[http://localhost/] 'Sets custom base URL'") .args_from_usage("-c, --no-css 'Removes CSS'") .args_from_usage("-C, --charset=[UTF-8] 'Enforces custom encoding'") - .args_from_usage( - "-D, --domains=[bad.org,ads.site,127.0.0.0:8080] 'Whitelist of domains'", - ) + .args_from_usage("-D, --domains=[bad.org,ads.site] 'Whitelist of domains'") .args_from_usage("-e, --ignore-errors 'Ignore network errors'") .args_from_usage("-E, --exclude-domains 'Treat list of specified domains as blacklist'") .args_from_usage("-f, --no-frames 'Removes frames and iframes'")