Skip to content

Commit

Permalink
fix: stop argparse from interpreting the example date format
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama authored and psy0rz committed Jul 12, 2022
1 parent aedeb72 commit 4d3aa6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zfs_autobackup/CliBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_parser(self):
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.')

Expand Down

0 comments on commit 4d3aa6d

Please sign in to comment.