fix: require -r/--remote

This commit is contained in:
Joshua Li 2020-08-10 15:12:24 -07:00
parent c0a81353ab
commit 5debf1f11a

View File

@ -177,6 +177,7 @@ parser.add_argument(
) )
parser.add_argument( parser.add_argument(
"-r", "--remote", "-r", "--remote",
required=True,
metavar="[USERNAME[:PASSWORD]@]ADDR[:PORT]", metavar="[USERNAME[:PASSWORD]@]ADDR[:PORT]",
help=""" help="""
ssh hostname (and optional username and password) of remote %(prog)s server ssh hostname (and optional username and password) of remote %(prog)s server