From 169da29c093d8da86c24df7734641f2034477bf6 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 2 Dec 2024 19:18:05 +0100 Subject: [PATCH] Improve formatting of message. - We don't emit anything for a backend with devices, so it doesn't make sense to indent this more. --- src/commands/key/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/key/list.rs b/src/commands/key/list.rs index c07127c8..24913d81 100644 --- a/src/commands/key/list.rs +++ b/src/commands/key/list.rs @@ -331,7 +331,7 @@ pub fn list(sq: Sq, mut cmd: cli::key::list::Command) -> Result<()> { for mut device in devices { let keys = device.list()?; if keys.len() == 0 { - wprintln!(initial_indent = " - ", "Device {}/{} has no keys.", + wprintln!(initial_indent = " - ", "Device {}/{} has no keys.", backend.id()?, device.id()?); dirty = true; }