diff options
author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-03-06 16:20:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 16:20:03 +0000 |
commit | 8e9e7b92a3fe514b706d7fb372f8f31ad3168743 (patch) | |
tree | d29ab575bc26ca50fa8ef2a5604b8f35d1e73163 | |
parent | f943e03f905f09ad71e234974a6c868d06d0bbe5 (diff) |
chore: do not show history table stats when using records (#1835)
-rw-r--r-- | atuin/src/command/client/sync/status.rs | 7 |
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(()) |