Skip to content

Commit

Permalink
tweak docs to match @vieira's changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dlenski committed May 3, 2016
1 parent 495b3c3 commit 5a20783
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/manpage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ Options
if you use this option to give it a few names to start
from.

If this option is used *without* :option:`--auto-hosts`,
then the listed hostnames will be scanned and added, but
no further hostnames will be added.

.. option:: --no-latency-control

Sacrifice latency to improve bandwidth benchmarks. ssh
Expand Down
4 changes: 2 additions & 2 deletions sshuttle/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __call__(self, parser, namespace, values, option_string=None):
"-H", "--auto-hosts",
action="store_true",
help="""
scan for remote hostnames and update local /etc/hosts
continuously scan for remote hostnames and update local /etc/hosts as they are found
"""
)
parser.add_argument(
Expand Down Expand Up @@ -232,7 +232,7 @@ def __call__(self, parser, namespace, values, option_string=None):
metavar="HOSTNAME[,HOSTNAME]",
default=[],
help="""
with -H, use these hostnames for initial scan (comma-separated)
comma-separated list of hostnames for initial scan (may be used with or without --auto-hosts)
"""
)
parser.add_argument(
Expand Down

0 comments on commit 5a20783

Please sign in to comment.