Improved documentation
This commit is contained in:
@@ -18,17 +18,16 @@ Script to check zfs snapshot counts and age of oldest most recent snapshot. Spec
|
||||
|
||||
## Options
|
||||
|
||||
```bash
|
||||
-d, --dataset <dataset> Dataset to check (required, repeat for multiple)
|
||||
-e, --exclude <dataset> Exclude dataset (repeat for multiple)
|
||||
-p, --prefix <prefix> Snapshot prefix (default: zrepl_)
|
||||
-f, --format <format> Timestamp format (see [below](#timestamp-formats--f))
|
||||
-s, --max-snapshots <num> Max snapshots per dataset
|
||||
-m, --max-age <duration> Max age (e.g., 31s, 17m, 24h)
|
||||
-r, --recursive Include sub-datasets
|
||||
-v, --verbose Show detailed table
|
||||
-n, --err-for-no-snapshots Error if no snapshots found
|
||||
```
|
||||
- `-d, --dataset <dataset>`: Dataset to check (required; can be repeated for multiple)
|
||||
- `-p, --prefix <prefix>`: Snapshot prefix (default: zrepl_)
|
||||
- `-f, --format <format>`: Timestamp format (see [below](#timestamp-formats--f))
|
||||
- `-s, --max-snapshots <num>`: Max snapshots per dataset
|
||||
- `-m, --max-age <duration>`: Max age (e.g., 31s, 17m, 24h)
|
||||
- `-r, --recursive`: Include sub-datasets
|
||||
- `-e, --exclude <dataset>`: Exclude dataset (can be repeated for multiple)
|
||||
- `-v, --verbose`: Show detailed table
|
||||
- `-n, --err-for-no-snapshots`: Error if no snapshots found
|
||||
- `-h, --help`: Show help message
|
||||
|
||||
## Timestamp Formats (`-f`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user