mirror of
https://github.com/ellie/atuin.git
synced 2024-08-18 01:10:37 +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!("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(())
|
||||
|
Loading…
Reference in New Issue
Block a user