mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
provide defaults for args
This commit is contained in:
@@ -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