1
1
mirror of https://github.com/ellie/atuin.git synced 2024-07-15 00:30:36 +03:00

chore: do not show history table stats when using records (#1835)

This commit is contained in:
Ellie Huxtable 2024-03-06 16:20:03 +00:00 committed by GitHub
parent f943e03f90
commit 8e9e7b92a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(())