From 60840a42130500bcbe7d89037c3dbec24764ac5d Mon Sep 17 00:00:00 2001
From: Nath <NoifP@users.noreply.github.com>
Date: Tue, 31 Jan 2023 15:02:03 +1100
Subject: [PATCH] Adding Bytes/sec unit to --rate

Usually network transfers are specified in bits/sec but this is using mbuffer -R option which is Bytes/sec.
---
 zfs_autobackup/ZfsAutobackup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zfs_autobackup/ZfsAutobackup.py b/zfs_autobackup/ZfsAutobackup.py
index 0ce3270..64e0d1a 100644
--- a/zfs_autobackup/ZfsAutobackup.py
+++ b/zfs_autobackup/ZfsAutobackup.py
@@ -116,7 +116,7 @@ class ZfsAutobackup(ZfsAuto):
                            help='Use compression during transfer, defaults to zstd-fast if TYPE is not specified. ({})'.format(
                                ", ".join(compressors.choices())))
         group.add_argument('--rate', metavar='DATARATE', default=None,
-                           help='Limit data transfer rate (e.g. 128K. requires mbuffer.)')
+                           help='Limit data transfer rate in Bytes/sec (e.g. 128K. requires mbuffer.)')
         group.add_argument('--buffer', metavar='SIZE', default=None,
                            help='Add zfs send and recv buffers to smooth out IO bursts. (e.g. 128M. requires mbuffer)')
         group.add_argument('--send-pipe', metavar="COMMAND", default=[], action='append',