"--enable-regex-whitelist" -> "--enable-whitelist-regex"

This commit is contained in:
Héctor Molinero Fernández 2019-08-24 12:54:40 +02:00
commit fbf7b051c4
2 changed files with 3 additions and 3 deletions

View file

@ -108,7 +108,7 @@ Usage: hblock [options...]
-l, --lenient
Match all entries from sources, regardless of their IP
(default: 0.0.0.0, 127.0.0.1 or none)
-r, --enable-regex-whitelist
-r, --enable-whitelist-regex
Use POSIX BREs instead of fixed strings
-i, --ignore-download-error
Do not abort if a download error occurs

4
hblock
View file

@ -190,7 +190,7 @@ showHelp() {
-l, --lenient
Match all entries from sources, regardless of their IP
(default: 0.0.0.0, 127.0.0.1 or none)
-r, --enable-regex-whitelist
-r, --enable-whitelist-regex
Use POSIX BREs instead of fixed strings
-i, --ignore-download-error
Do not abort if a download error occurs
@ -253,7 +253,7 @@ main() {
'--comment') set -- "$@" '-C' ;;
'--backup') set -- "$@" '-b' ;;
'--lenient') set -- "$@" '-l' ;;
'--enable-regex-whitelist') set -- "$@" '-r' ;;
'--enable-whitelist-regex') set -- "$@" '-r' ;;
'--ignore-download-error') set -- "$@" '-i' ;;
'--color') set -- "$@" '-c' ;;
'--quiet') set -- "$@" '-q' ;;