1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Move responsibility for version display out of flags

This commit is contained in:
Chris Cummer
2018-06-16 08:37:55 -07:00
parent 4a00c114ce
commit dd42080ed8
3 changed files with 13 additions and 10 deletions

View File

@@ -2,7 +2,6 @@ package help
import (
"fmt"
"os"
"github.com/senorprogrammer/wtf/git"
"github.com/senorprogrammer/wtf/github"
@@ -17,8 +16,6 @@ func Display(moduleName string) {
} else {
fmt.Printf("%s\n", helpFor(moduleName))
}
os.Exit(0)
}
func helpFor(moduleName string) string {