This commit is contained in:
Edwin Eefting 2022-01-26 23:59:13 +01:00
parent fa3f44a045
commit 81d0bee7ae
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
# This is the low level process executing stuff.
# It makes piping multiple process easier.
# You can specify a handler for each line of stderr output for each item in the pipe.
# Every item also has its own exitcode handler.
# There is one stdout handler for the last item in the pipe. This is also called for each line.
import subprocess
import os
import select

View File

@ -136,7 +136,7 @@ class ZfsAuto(object):
group=parser.add_argument_group("SSH options")
group.add_argument('--ssh-config', metavar='CONFIG-FILE', default=None, help='Custom ssh client config')
group.add_argument('--ssh-source', metavar='USER@HOST', default=None,
help='Source host to get backup from.')
help='Source host to pull backup from.')
group.add_argument('--ssh-target', metavar='USER@HOST', default=None,
help='Target host to push backup to.')