diff --git a/zfs_autobackup/CmdPipe.py b/zfs_autobackup/CmdPipe.py index da1a789..04680d0 100644 --- a/zfs_autobackup/CmdPipe.py +++ b/zfs_autobackup/CmdPipe.py @@ -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 diff --git a/zfs_autobackup/ZfsAuto.py b/zfs_autobackup/ZfsAuto.py index f0fe32c..be67e0a 100644 --- a/zfs_autobackup/ZfsAuto.py +++ b/zfs_autobackup/ZfsAuto.py @@ -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.')