[PATCH] Error message on unrecognized command
Export this patch
---
ui/ui.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ui/ui.go b/ui/ui.go
index 710f5e9..713e52f 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -123,6 +123,9 @@ func (i *UI) Init() {
i.deleteFeed(args)
case ":update", ":up":
i.updateFeed(args)
+ default:
+ i.commandLine.setError("unrecognized command: " + args[0][1:])
+ i.setStatus(i.status)
}
i.inCmdMode = false
})
--
2.27.0
Great call to add this Will. Thanks.