Skip to content

Commit

Permalink
forget: Fix table header
Browse files Browse the repository at this point in the history
  • Loading branch information
aawsome committed Nov 23, 2022
1 parent 54329ae commit 6f05955
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/forget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ pub(super) fn execute(
snapshots.sort_unstable_by(|sn1, sn2| sn1.cmp(sn2).reverse());
let latest_time = snapshots[0].time;
let mut group_keep = opts.config.keep.clone();
let mut table =
table_with_titles(["ID", "Time", "Host", "Tags", "Paths", "Action", "Reason"]);
let mut table = table_with_titles([
"ID", "Time", "Host", "Label", "Tags", "Paths", "Action", "Reason",
]);

let mut iter = snapshots.iter().peekable();
let mut last = None;
Expand Down

0 comments on commit 6f05955

Please sign in to comment.