mirror of
https://github.com/ellie/atuin.git
synced 2024-09-11 21:18:22 +03:00
chore: do not show history table stats when using records (#1835)
This commit is contained in:
parent
f943e03f90
commit
8e9e7b92a3
@ -35,14 +35,15 @@ pub async fn run(settings: &Settings, db: &impl Database) -> Result<()> {
|
|||||||
println!("Last sync: {last_sync}");
|
println!("Last sync: {last_sync}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !settings.sync.records {
|
||||||
println!("History count: {local_count}");
|
println!("History count: {local_count}");
|
||||||
println!("Deleted history count: {deleted_count}\n");
|
println!("Deleted history count: {deleted_count}\n");
|
||||||
|
}
|
||||||
|
|
||||||
if settings.auto_sync {
|
if settings.auto_sync {
|
||||||
println!("{}", "[Remote]".green());
|
println!("{}", "[Remote]".green());
|
||||||
println!("Address: {}", settings.sync_address);
|
println!("Address: {}", settings.sync_address);
|
||||||
println!("Username: {}", status.username);
|
println!("Username: {}", status.username);
|
||||||
println!("History count: {}", status.count);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user