summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--atuin/src/command/client/sync/status.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/atuin/src/command/client/sync/status.rs b/atuin/src/command/client/sync/status.rs
index b7b63c22..333a0fad 100644
--- a/atuin/src/command/client/sync/status.rs
+++ b/atuin/src/command/client/sync/status.rs
@@ -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(())