From 4db9c04517ded0971fc2f85e544bd8d54dac4ce3 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Tue, 23 Apr 2019 21:52:06 -0700 Subject: [PATCH] Add --port option --- bin/backup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/backup b/bin/backup index a478ade..5f18343 100644 --- a/bin/backup +++ b/bin/backup @@ -11,6 +11,7 @@ Command-Line Arguments -d, --dry-run make this backup a dry run --debug show debug messages -n, --name name to give to the backup snapshot +-p, --port port that ssh on the destination is listening on -s, --run-post-sync run sync syscall after backup -v, --verbose show info messages @@ -89,6 +90,9 @@ def parse_cmdline_arguments(**kwargs): parser.add_argument( "-n", "--name", default=None, help="name to give to the snapshot" ) + parser.add_argument( + "-p", "--port", default=22, help="port that ssh on the destination is listening on" + ) parser.add_argument( "-s", "--run-post-sync",