summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Li <josh@jrl.ninja>2020-08-10 15:12:24 -0700
committerJoshua Li <josh@jrl.ninja>2020-08-10 15:12:24 -0700
commit5debf1f11a51ff545b8eef034dc5d7429aa9b67c (patch)
tree5f6fb397d93d8d9e83dc48390d0642ffefdb39fe
parentc0a81353ab559604ed01cc9c5fbb8e6b3157c067 (diff)
fix: require -r/--remote
-rw-r--r--sshuttle/options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sshuttle/options.py b/sshuttle/options.py
index 12ce55d..e3ce630 100644
--- a/sshuttle/options.py
+++ b/sshuttle/options.py
@@ -177,6 +177,7 @@ parser.add_argument(
)
parser.add_argument(
"-r", "--remote",
+ required=True,
metavar="[USERNAME[:PASSWORD]@]ADDR[:PORT]",
help="""
ssh hostname (and optional username and password) of remote %(prog)s server