Document the --replace command line flag.
authorSteven Black <redacted>
Tue, 23 Feb 2016 02:34:04 +0000 (21:34 -0500)
committerSteven Black <redacted>
Tue, 23 Feb 2016 02:34:04 +0000 (21:34 -0500)
readme.md
readme_template.md

index f9b978c2a0e60fdb88443828f41003e8e183fe0b..b9fdaa8e057f25d22e35ecd87b6738673d799814 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -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`.
 
index 71d3bbb74ecd309b0838546856a4f1d103c4bbc8..c7effc57463a9336fd4450333dd46c5904fc98aa 100644 (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`.
 
git clone https://git.99rst.org/PROJECT