mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
simplified file handling for runtime files
This commit is contained in:
@@ -94,7 +94,7 @@ func Help(args []string) {
|
||||
CurView().openHelp("help")
|
||||
} else {
|
||||
helpPage := args[0]
|
||||
if _, ok := helpPages[helpPage]; ok {
|
||||
if FindExtensionFile(FILE_Help, helpPage) != nil {
|
||||
CurView().openHelp(helpPage)
|
||||
} else {
|
||||
messenger.Error("Sorry, no help for ", helpPage)
|
||||
|
||||
Reference in New Issue
Block a user