mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-16 20:11:02 +01:00
don't show shortcuts in help (clutters it) (#27)
* don't show shortcuts in help (clutters it) * bump version --------- Co-authored-by: Thomas von Dein <tom@vondein.org>
This commit is contained in:
4
calc.go
4
calc.go
@@ -518,7 +518,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)
|
||||
|
||||
Reference in New Issue
Block a user