-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ set -eu | |
export LC_ALL='C' | ||
|
||
# Metadata. | ||
if [ -z "${HBLOCK_VERSION+x}" ]; then HBLOCK_VERSION='3.3.1'; fi | ||
if [ -z "${HBLOCK_VERSION+x}" ]; then HBLOCK_VERSION='3.3.2'; fi | ||
if [ -z "${HBLOCK_AUTHOR+x}" ]; then HBLOCK_AUTHOR='Héctor Molinero Fernández <[email protected]>'; fi | ||
if [ -z "${HBLOCK_LICENSE+x}" ]; then HBLOCK_LICENSE='MIT, https://opensource.org/licenses/MIT'; fi | ||
if [ -z "${HBLOCK_REPOSITORY+x}" ]; then HBLOCK_REPOSITORY='https://github.com/hectorm/hblock'; fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# NAME | ||
|
||
hBlock - manual page for hBlock 3.3.1 | ||
hBlock - manual page for hBlock 3.3.2 | ||
|
||
# SYNOPSIS | ||
|
||
|
@@ -15,15 +15,15 @@ from connecting to them. | |
|
||
# OPTIONS | ||
|
||
**-O**, **--output** \<FILE\|->, ${HBLOCK_OUTPUT_FILE} | ||
**-O**, **--output** \<FILE\|-\>, ${HBLOCK_OUTPUT_FILE} | ||
|
||
> Output file location. | ||
> | ||
> If equals "-", it is printed to stdout. | ||
> | ||
> (default: */etc/hosts*) | ||
**-H**, **--header** \<FILE\|builtin\|none\|->, ${HBLOCK_HEADER_FILE} | ||
**-H**, **--header** \<FILE\|builtin\|none\|-\>, ${HBLOCK_HEADER_FILE} | ||
|
||
> File to be included at the beginning of the output file. | ||
> | ||
|
@@ -42,7 +42,7 @@ from connecting to them. | |
> | ||
> (default: builtin) | ||
**-F**, **--footer** \<FILE\|builtin\|none\|->, ${HBLOCK_FOOTER_FILE} | ||
**-F**, **--footer** \<FILE\|builtin\|none\|-\>, ${HBLOCK_FOOTER_FILE} | ||
|
||
> File to be included at the end of the output file. | ||
> | ||
|
@@ -61,7 +61,7 @@ from connecting to them. | |
> | ||
> (default: builtin) | ||
**-S**, **--sources** \<FILE\|builtin\|none\|->, ${HBLOCK_SOURCES_FILE} | ||
**-S**, **--sources** \<FILE\|builtin\|none\|-\>, ${HBLOCK_SOURCES_FILE} | ||
|
||
> File with line separated URLs used to generate the blocklist. | ||
> | ||
|
@@ -80,7 +80,7 @@ from connecting to them. | |
> | ||
> (default: builtin) | ||
**-A**, **--allowlist** \<FILE\|builtin\|none\|->, | ||
**-A**, **--allowlist** \<FILE\|builtin\|none\|-\>, | ||
${HBLOCK_ALLOWLIST_FILE} | ||
|
||
> File with line separated entries to be removed from the blocklist. | ||
|
@@ -100,7 +100,7 @@ ${HBLOCK_ALLOWLIST_FILE} | |
> | ||
> (default: builtin) | ||
**-D**, **--denylist** \<FILE\|builtin\|none\|->, | ||
**-D**, **--denylist** \<FILE\|builtin\|none\|-\>, | ||
${HBLOCK_DENYLIST_FILE} | ||
|
||
> File with line separated entries to be added to the blocklist. | ||
|
@@ -120,31 +120,31 @@ ${HBLOCK_DENYLIST_FILE} | |
> | ||
> (default: builtin) | ||
**-R**, **--redirection** \<REDIRECTION>, ${HBLOCK_REDIRECTION} | ||
**-R**, **--redirection** \<REDIRECTION\>, ${HBLOCK_REDIRECTION} | ||
|
||
> Redirection for all entries in the blocklist. | ||
> | ||
> (default: 0.0.0.0) | ||
**-W**, **--wrap** \<NUMBER>, ${HBLOCK_WRAP} | ||
**-W**, **--wrap** \<NUMBER\>, ${HBLOCK_WRAP} | ||
|
||
> Break blocklist lines after this number of entries. | ||
> | ||
> (default: 1) | ||
**-T**, **--template** \<TEMPLATE>, ${HBLOCK_TEMPLATE} | ||
**-T**, **--template** \<TEMPLATE\>, ${HBLOCK_TEMPLATE} | ||
|
||
> Template applied to each entry. | ||
> | ||
> %D = \<DOMAIN>, %R = \<REDIRECTION> | ||
> %D = \<DOMAIN\>, %R = \<REDIRECTION\> | ||
> | ||
> (default: %R %D) | ||
**-C**, **--comment** \<COMMENT>, ${HBLOCK_COMMENT} | ||
**-C**, **--comment** \<COMMENT\>, ${HBLOCK_COMMENT} | ||
|
||
> Character used for comments. | ||
> | ||
> (default: #) | ||
> (default: \#) | ||
**-l**, **--\[no-\]lenient**, ${HBLOCK_LENIENT} | ||
|
||
|
@@ -185,7 +185,7 @@ ${HBLOCK_DENYLIST_FILE} | |
> | ||
> (default: false) | ||
**-x**, **--color** \<auto\|true\|false>, ${HBLOCK_COLOR} | ||
**-x**, **--color** \<auto\|true\|false\>, ${HBLOCK_COLOR} | ||
|
||
> Colorize the output. | ||
> | ||
|
@@ -201,9 +201,9 @@ ${HBLOCK_DENYLIST_FILE} | |
# REPORTING BUGS | ||
|
||
Report bugs to: \<https://github.com/hectorm/hblock/issues> | ||
Report bugs to: \<https://github.com/hectorm/hblock/issues\> | ||
|
||
|
||
Author: Héctor Molinero Fernández \<[email protected]> | ||
Author: Héctor Molinero Fernández \<[email protected]\> | ||
License: MIT, https://opensource.org/licenses/MIT | ||
Repository: https://github.com/hectorm/hblock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
d93effa9a068b82f7d4d97fdcae7a320c6f7a3ae910af8234bca870f33ec55e1 hblock | ||
864160641823734378b69da7aa28477771e125af66cf47d5f0f7c8233ef1837f hblock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters