mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-09-24 14:20:09 +01:00
provide defaults for args
This commit is contained in:
+2
-2
@@ -205,14 +205,14 @@ def main():
|
||||
"--whitelist",
|
||||
"-w",
|
||||
dest="whitelistfile",
|
||||
default="",
|
||||
default=path_join_robust(BASEDIR_PATH, "blacklist"),
|
||||
help="Whitelist file to use while generating hosts files.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--blacklist",
|
||||
"-x",
|
||||
dest="blacklistfile",
|
||||
default="",
|
||||
default=path_join_robust(BASEDIR_PATH, "blacklist"),
|
||||
help="Blacklist file to use while generating hosts files.",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user