summaryrefslogtreecommitdiffstats
path: root/scripts/generate_cheatsheet.go
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generate_cheatsheet.go')
-rw-r--r--scripts/generate_cheatsheet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_cheatsheet.go b/scripts/generate_cheatsheet.go
index 11a626414..f3d5e84db 100644
--- a/scripts/generate_cheatsheet.go
+++ b/scripts/generate_cheatsheet.go
@@ -99,7 +99,7 @@ func getBindingSections(mApp *app.App) []*bindingSection {
}
func addBinding(title string, bindingSections []*bindingSection, binding *gui.Binding) []*bindingSection {
- if binding.Description == "" {
+ if binding.Description == "" && binding.Alternative == "" {
return bindingSections
}