mirror of
https://github.com/taigrr/wtf
synced 2026-03-26 00:22:21 -07:00
Rename the help function to a better name
This commit is contained in:
6
wtf.go
6
wtf.go
@@ -85,8 +85,8 @@ func keyboardIntercept(event *tcell.EventKey) *tcell.EventKey {
|
||||
return event
|
||||
}
|
||||
|
||||
func loadConfig(configFlag string) {
|
||||
Config = cfg.LoadConfigFile(configFlag)
|
||||
func loadConfig(filePath string) {
|
||||
Config = cfg.LoadConfigFile(filePath)
|
||||
}
|
||||
|
||||
// redrawApp redraws the rendered views to screen on a defined interval (set in config.yml)
|
||||
@@ -264,7 +264,7 @@ func main() {
|
||||
cmdFlags.Parse(version)
|
||||
|
||||
if cmdFlags.HasModule() {
|
||||
help.DisplayModuleInfo(cmdFlags.Module)
|
||||
help.Display(cmdFlags.Module)
|
||||
}
|
||||
|
||||
cfg.CreateConfigDir()
|
||||
|
||||
Reference in New Issue
Block a user