From 4d3aa6da22e1b85b43deb154c1d7acfd1348898e Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 10 Jul 2022 13:41:32 +0200 Subject: [PATCH] fix: stop argparse from interpreting the example date format --- zfs_autobackup/CliBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs_autobackup/CliBase.py b/zfs_autobackup/CliBase.py index c8ffe1b..8b55c06 100644 --- a/zfs_autobackup/CliBase.py +++ b/zfs_autobackup/CliBase.py @@ -81,7 +81,7 @@ class CliBase(object): group.add_argument('--no-progress', action='store_true', help=argparse.SUPPRESS) # needed to workaround a zfs recv -v bug group.add_argument('--utc', action='store_true', - help='Use UTC instead of local time when dealing with timestamps for both formatting and parsing. To snapshot in an ISO 8601 compliant time format you may for example specify --snapshot-format "%Y-%m-%dT%H:%M:%SZ". Changing this parameter after-the-fact (existing snapshots) will cause their timestamps to be interpreted as a different time than before.') + help='Use UTC instead of local time when dealing with timestamps for both formatting and parsing. To snapshot in an ISO 8601 compliant time format you may for example specify --snapshot-format "{}-%%Y-%%m-%%dT%%H:%%M:%%SZ". Changing this parameter after-the-fact (existing snapshots) will cause their timestamps to be interpreted as a different time than before.') group.add_argument('--version', action='store_true', help='Show version.')