From a7c9d28a99bed064efd30536b75c143837fcb5cc Mon Sep 17 00:00:00 2001 From: Ruediger Klaehn Date: Thu, 2 May 2024 20:59:35 +0300 Subject: [PATCH] unify casing --- iroh-cli/src/commands/doctor.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iroh-cli/src/commands/doctor.rs b/iroh-cli/src/commands/doctor.rs index 904f6b634e..f02aa1b622 100644 --- a/iroh-cli/src/commands/doctor.rs +++ b/iroh-cli/src/commands/doctor.rs @@ -996,12 +996,12 @@ fn inspect_ticket(ticket: &str, zbase32: bool) -> anyhow::Result<()> { println!("BlobTicket"); println!(" hash: {}", bold(ticket.hash())); println!(" format: {}", bold(ticket.format())); - println!(" Node Info"); + println!(" NodeInfo"); print_node_addr(" ", ticket.node_addr(), zbase32); } else if ticket.starts_with(iroh::ticket::DocTicket::KIND) { let ticket = iroh::ticket::DocTicket::from_str(ticket).context("failed parsing doc ticket")?; - println!("Document ticket:\n"); + println!("DocTicket:\n"); match ticket.capability { Capability::Read(namespace) => { println!(" read: {}", bold(namespace)); @@ -1016,7 +1016,7 @@ fn inspect_ticket(ticket: &str, zbase32: bool) -> anyhow::Result<()> { } else if ticket.starts_with(iroh::ticket::NodeTicket::KIND) { let ticket = iroh::ticket::NodeTicket::from_str(ticket).context("failed parsing node ticket")?; - println!("Node ticket"); + println!("NodeTicket"); print_node_addr(" ", ticket.node_addr(), zbase32); } else { println!("Unknown ticket type");