mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-17 20:41:01 +01:00
don't show shortcuts in help (clutters it)
This commit is contained in:
4
calc.go
4
calc.go
@@ -520,7 +520,9 @@ func sortcommands(hash Commands) []string {
|
|||||||
keys := make([]string, 0, len(hash))
|
keys := make([]string, 0, len(hash))
|
||||||
|
|
||||||
for key := range hash {
|
for key := range hash {
|
||||||
keys = append(keys, key)
|
if len(key) > 1 {
|
||||||
|
keys = append(keys, key)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sort.Strings(keys)
|
sort.Strings(keys)
|
||||||
|
|||||||
Reference in New Issue
Block a user