bump to v1.2.0

This commit is contained in:
Dave Eddy 2021-11-27 18:57:31 -05:00
parent 1502ce3c80
commit 975ed41681
2 changed files with 10 additions and 4 deletions

View File

@ -4,7 +4,13 @@ ZFS Prune Snapshots Changes
Not Yet Released
----------------
- (nothing)
`v1.2.0`
--------
- Add zfs binary check ([#8](https://github.com/bahamas10/zfs-prune-snapshots/pull/8))
- Support inverting of prefix/suffix match ([#17](https://github.com/bahamas10/zfs-prune-snapshots/pull/17))
`v1.1.0`
--------

View File

@ -6,7 +6,7 @@
# Date: November 20, 2015
# License: MIT
VERSION='v1.1.0'
VERSION='v1.2.0'
usage() {
local prog=${0##*/}
@ -36,9 +36,9 @@ usage() {
remove snapshots older than two months on the tank pool that end
with the string "_frequent"
# $prog -i -p 'autosnap_' 1M zones
# $prog -i -p 'autosnap_' 1M zones
remove snapshots older than a month on the zones pool that do not
start with the string "autosnap_"
start with the string "autosnap_"
timespec
the first argument denotes how old a snapshot must be for it to
@ -57,7 +57,7 @@ usage() {
-n dry-run, don't actually delete snapshots
-p <prefix> snapshot prefix string to match
-s <suffix> snapshot suffix string to match
-i invert matching of prefix and suffix
-i invert matching of prefix and suffix
-q quiet, do not printout removed snapshots
-v increase verbosity
-V print the version number and exit