mirror of
https://github.com/atuinsh/atuin.git
synced 2025-02-16 10:30:44 +01: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}");
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("History count: {local_count}");
|
if !settings.sync.records {
|
||||||
println!("Deleted history count: {deleted_count}\n");
|
println!("History count: {local_count}");
|
||||||
|
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