Better formatting of dump

This commit is contained in:
lash 2025-04-04 01:15:02 +01:00
parent fbd50145fc
commit fa6980f545
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 1 additions and 2 deletions

View File

@ -73,7 +73,6 @@ func main() {
fmt.Fprintf(os.Stderr, "cmd parse fail: %v\n", err)
os.Exit(1)
}
logg.Infof("start command", "conn", conns, "subcmd", x)
menuStorageService := storage.NewMenuStorageService(conns)

View File

@ -24,7 +24,7 @@ func formatItem(k []byte, v []byte, sessionId string) (string, error) {
if err != nil {
return "", err
}
s := fmt.Sprintf("%v\t%v\n", o.Label, string(v))
s := fmt.Sprintf("%v\n\t%v\n", o.Label, string(v))
return s, nil
}