Document the --replace command line flag.

This commit is contained in:
Steven Black 2016-02-22 21:34:04 -05:00
parent ce3354ee73
commit 5c98a08d41
2 changed files with 13 additions and 7 deletions

View File

@ -5,7 +5,7 @@ with duplicates removed. You can [download the resultant amalgamated hosts file
**Details about this amalgamated hosts file:**
* Last updated: **February 23 2016 at 01:05:02 GMT**.
* Last updated: **February 23 2016 at 02:33:37 GMT**.
* Contains: **27,148 unique entries**.
## Take note!
@ -67,11 +67,11 @@ versions (from locations defined by the update.info text file in each source's f
Using Python 3:
python3 updateHostsFile.py [--auto] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
Using Python 2.7:
python updateHostsFile.py [--auto] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
Command line options:
@ -79,7 +79,10 @@ Command line options:
* Host data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag to include any you want.
* Your active hosts file is *not* replaced.
* Your active hosts file is *not* replaced unless you include the `--replace` flag.
`--replace`, `-r`: trigger replacing your active hosts file with the new hosts file. Use along with `--auto` to
force replacement.
`--ip nnn.nnn.nnn.nnn`, `--i nnn.nnn.nnn.nnn`: the IP address to use as the target. Default is `0.0.0.0`.

View File

@ -67,11 +67,11 @@ versions (from locations defined by the update.info text file in each source's f
Using Python 3:
python3 updateHostsFile.py [--auto] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
python3 updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
Using Python 2.7:
python updateHostsFile.py [--auto] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
python updateHostsFile.py [--auto] [--replace] [--ip nnn.nnn.nnn.nnn] [--extensions ext1 ext2 ext3]
Command line options:
@ -79,7 +79,10 @@ Command line options:
* Host data sources, including extensions, are updated.
* No extensions are included by default. Use the `--extensions` or `-e` flag to include any you want.
* Your active hosts file is *not* replaced.
* Your active hosts file is *not* replaced unless you include the `--replace` flag.
`--replace`, `-r`: trigger replacing your active hosts file with the new hosts file. Use along with `--auto` to
force replacement.
`--ip nnn.nnn.nnn.nnn`, `--i nnn.nnn.nnn.nnn`: the IP address to use as the target. Default is `0.0.0.0`.