summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/argv.go b/argv.go
index d6ffbaf..7e968e2 100644
--- a/argv.go
+++ b/argv.go
@@ -11,8 +11,9 @@ import (
var argv args
type args struct {
- Repo string `arg:"--repo" default:"/etc/gowebd/repomap" help:"what .git repo to use?"`
- Hostname string `arg:"--hostname" default:"go.wit.com" help:"hostname to use"`
+ Repo string `arg:"--repo" default:"./" help:"what .git repo to use?"`
+ Hostname string `arg:"--hostname" help:"hostname to use"`
+ Refs bool `arg:"--refs" help:"list the git ref hashes"`
}
func (args) Version() string {