don't show shortcuts in help (clutters it)

This commit is contained in:
2023-12-07 13:43:45 +01:00
parent d2db420837
commit dd14e7ec35

View File

@@ -520,7 +520,9 @@ func sortcommands(hash Commands) []string {
keys := make([]string, 0, len(hash))
for key := range hash {
keys = append(keys, key)
if len(key) > 1 {
keys = append(keys, key)
}
}
sort.Strings(keys)