mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-23 14:49:30 +01:00
Better formatting for config-get custom-columns
This commit is contained in:
parent
35d22e67fc
commit
1be3dcc76f
@ -156,8 +156,9 @@ func main() {
|
||||
}
|
||||
fmt.Print("\n")
|
||||
case "custom-columns":
|
||||
// TODO: better formatting for this
|
||||
fmt.Printf("%#v", config.CustomColumns)
|
||||
for _, cc := range config.CustomColumns {
|
||||
fmt.Println(cc.ColumnName + ": " + cc.ColumnCommand)
|
||||
}
|
||||
default:
|
||||
log.Fatalf("Unrecognized config key: %s", key)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user