Skip to content

Commit

Permalink
chore: do not show history table stats when using records (#1835)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie authored Mar 6, 2024
1 parent f943e03 commit 8e9e7b9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions atuin/src/command/client/sync/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ pub async fn run(settings: &Settings, db: &impl Database) -> Result<()> {
println!("Last sync: {last_sync}");
}

println!("History count: {local_count}");
println!("Deleted history count: {deleted_count}\n");
if !settings.sync.records {
println!("History count: {local_count}");
println!("Deleted history count: {deleted_count}\n");
}

if settings.auto_sync {
println!("{}", "[Remote]".green());
println!("Address: {}", settings.sync_address);
println!("Username: {}", status.username);
println!("History count: {}", status.count);
}

Ok(())
Expand Down

0 comments on commit 8e9e7b9

Please sign in to comment.