From ffa6884fe4ace955e41ad04d3948b6bb4dd202c9 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 3 Feb 2022 18:42:50 +0800 Subject: [PATCH] improve list formatting --- services/shellchat/src/cmds/wlan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/shellchat/src/cmds/wlan.rs b/services/shellchat/src/cmds/wlan.rs index 292c89ef2..498231a49 100644 --- a/services/shellchat/src/cmds/wlan.rs +++ b/services/shellchat/src/cmds/wlan.rs @@ -126,7 +126,7 @@ impl<'a> ShellCmdApi<'a> for Wlan { Ok(list) => { write!(ret, "Saved network configs:\n").unwrap(); for item in list.iter() { - write!(ret, " {}", item).ok(); // whatever, maybe we have too many? + write!(ret, "- {}", item).ok(); // whatever, maybe we have too many? } } Err(e) => {