mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Change -i flag to -m. See 'wtf --help' for details
This commit is contained in:
@@ -11,11 +11,11 @@ import (
|
||||
"github.com/senorprogrammer/wtf/weather"
|
||||
)
|
||||
|
||||
func DisplayHelpInfo(moduleName string) {
|
||||
func DisplayModuleInfo(moduleName string) {
|
||||
if moduleName != "" {
|
||||
fmt.Printf("%s\n", helpFor(moduleName))
|
||||
} else {
|
||||
fmt.Println("\n --help takes a module name as an argument, i.e: '--help github'")
|
||||
fmt.Println("\n --module takes a module name as an argument, i.e: '--module=github'")
|
||||
}
|
||||
|
||||
os.Exit(0)
|
||||
|
||||
Reference in New Issue
Block a user