From 327e2f592a156e52348d48351d6becbad477204a Mon Sep 17 00:00:00 2001 From: vyanovsky <51786050+vyanovsky@users.noreply.github.com> Date: Fri, 29 Nov 2024 21:30:34 +0900 Subject: [PATCH] Update exclusions.md - made all commands copyable --- docs/adguard-vpn-for-linux/exclusions.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/adguard-vpn-for-linux/exclusions.md b/docs/adguard-vpn-for-linux/exclusions.md index a56515584..1e0e83d50 100644 --- a/docs/adguard-vpn-for-linux/exclusions.md +++ b/docs/adguard-vpn-for-linux/exclusions.md @@ -19,11 +19,11 @@ Each mode has its own exclusion list. To view all exclusion-related commands, type: -`adguardvpn-cli site-exclusions -h` + adguardvpn-cli site-exclusions -h To add a domain to the exclusion list of the current mode, type: -`adguardvpn-cli site-exclusions add %domain_name%` + adguardvpn-cli site-exclusions add %domain_name% > Supported input formats: `domain.com`, `sub.domain.com`, `www.domain.com`. To add two or more exclusions at once, list them comma-separated. Use double quotes for wildcards: `"*.domain.com"` > @@ -31,19 +31,21 @@ To add a domain to the exclusion list of the current mode, type: To remove a domain from the list of exclusions, type: -`adguardvpn-cli site-exclusions remove %domain_name%` + adguardvpn-cli site-exclusions remove %domain_name% To view the current exclusion list, type: -`adguardvpn-cli site-exclusions show` + adguardvpn-cli site-exclusions show To remove all exclusions, type: -`adguardvpn-cli site-exclusions clear` + adguardvpn-cli site-exclusions clear To change the exclusion mode, type: -`adguardvpn-cli site-exclusions mode %mode_name%` (or you can just check the current mode using `adguardvpn-cli site-exclusions mode`) + adguardvpn-cli site-exclusions mode %mode_name% + +(or you can just check the current mode using `adguardvpn-cli site-exclusions mode`) where %mode_name% is `general` or `selective`. @@ -51,6 +53,6 @@ where %mode_name% is `general` or `selective`. The commands listed above (`add`, `remove`, `show`, `clear`) are applied to the exclusion list of the current mode. To perform a command for a specific mode, add `--for-mode %mode_name% type`, for example: -`adguardvpn-cli site-exclusions add %domain_name% --for-mode %mode_name%` + adguardvpn-cli site-exclusions add %domain_name% --for-mode %mode_name% :::