aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/main.go b/main.go
index c30bfcaf..45fbd216 100644
--- a/main.go
+++ b/main.go
@@ -16,14 +16,11 @@ import (
)
var (
- Version = "impure"
+ flagVerbose bool
)
-func tryVersion() {
- if printVersion {
- fmt.Println(Version)
- os.Exit(0)
- }
+func init() {
+ flag.BoolVar(&flagVerbose, "v", false, "Verbose output")
}
func main() {