diff options
| author | Jeff Carr <[email protected]> | 2024-12-31 13:24:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-31 13:24:48 -0600 |
| commit | 7f8cdac6fad06a548997f9bb1fbdc6507836efb0 (patch) | |
| tree | c73c4379d043e5b0786ba2ce65b7261a2b2901a5 /argv.go | |
| parent | 2c6dc806efb2443daa82948482b1b1e313936716 (diff) | |
stub in a show git refs() function
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 { |
