From ccb80dd75d5b84c8e2430785e308e3c71327e919 Mon Sep 17 00:00:00 2001 From: Alexander Weiss Date: Fri, 2 Sep 2022 20:35:44 +0200 Subject: [PATCH] snapshots: group by hosts and paths as default --- src/commands/snapshots.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/commands/snapshots.rs b/src/commands/snapshots.rs index 4f6d4c9..7839735 100644 --- a/src/commands/snapshots.rs +++ b/src/commands/snapshots.rs @@ -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