summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.go b/main.go
index 488e2b3..a674f5a 100644
--- a/main.go
+++ b/main.go
@@ -81,10 +81,17 @@ func init() {
"Create a new project")
//flag.StringVar(&svar, "svar", "bar", "A String Var")
+ // CUSTOMIZE USAGE
+ flag.Usage = func() {
+ fmt.Fprintf(os.Stderr, "Usage of %s: [Options] [Database]\n Version 0.1.3\n\n [Database] - must have .db fileextension, only one allowed\n\n [Options]:\n", os.Args[0])
+ flag.PrintDefaults()
+ }
+
flag.Parse()
}
+
func stdOut() {
showLastProject()