From 8c4a2cf81d49b757f434fa2dabe1fdacfa354ade Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Thu, 18 Apr 2024 22:47:41 +0200 Subject: [PATCH] identity show: switch received and issued certs position (clients/rust/gcli-v2s!30) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * identity show: switch received and issued certs position Make more sense to me, you receive from the left and issue to the right That’s how they are presented in Cesium and Silkaj --- src/commands/identity.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/identity.rs b/src/commands/identity.rs index be986cf..935819c 100644 --- a/src/commands/identity.rs +++ b/src/commands/identity.rs @@ -211,15 +211,15 @@ impl std::fmt::Display for IdtyView { writeln!(f, "Status: {:?}", self.status)?; writeln!( f, - "Certifications: issued {}, received {}", - self.cert_issued_count, self.cert_received_count + "Certifications: received {}, issued {}", + self.cert_received_count, self.cert_issued_count )?; if let Some(smith) = &self.smith { writeln!(f, "Smith status: {:?}", smith.status)?; writeln!( f, - "Smith certs: issued {}, received {}", - smith.cert_issued_count, smith.cert_received_count + "Smith certs: received {}, issued {}", + smith.cert_received_count, smith.cert_issued_count )?; } let a = self.linked_account.len(); -- GitLab