Merge pull request #172 from rustic-rs/snapshots-default-grouping

snapshots: group by hosts and paths as default
This commit is contained in:
aawsome 2022-09-02 20:40:30 +02:00 committed by GitHub
commit e5f77ca443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,12 @@ pub(super) struct Opts {
filter: SnapshotFilter,
/// Group snapshots by any combination of host,paths,tags
#[clap(long, short = 'g', value_name = "CRITERION", default_value = "")]
#[clap(
long,
short = 'g',
value_name = "CRITERION",
default_value = "host,paths"
)]
group_by: SnapshotGroupCriterion,
/// Show detailed information about snapshots