mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-14 03:03:12 +00:00
Remove trailing commas on wallet account ls output
The trailing commas is inconvenient: 1. For users trying to select an account id by double-clicking it in a terminal: the comma gets included in the selection 2. For dev parsing the `wallet account list` output: the commas needs to be handled
This commit is contained in:
parent
1d09afd9e0
commit
740be55382
@ -278,7 +278,7 @@ impl WalletSubcommand for AccountSubcommand {
|
||||
.iter()
|
||||
.map(|(id, chain_index)| format!("{chain_index} Private/{id}")),
|
||||
)
|
||||
.format(",\n");
|
||||
.format("\n");
|
||||
|
||||
println!("{accounts}");
|
||||
Ok(SubcommandReturnValue::Empty)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user