summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/argv.go b/argv.go
index ab69ec4..573212b 100644
--- a/argv.go
+++ b/argv.go
@@ -12,8 +12,12 @@ import (
var argv args
type args struct {
- Port int `arg:"--port" default:"2520" help:"port to run on"`
- Hostname string `arg:"--hostname" default:"forge.wit.com" help:"hostname to use"`
+ Pull *EmptyCmd `arg:"subcommand:pull" help:"list the repos"`
+ Port int `arg:"--port" default:"2520" help:"port to run on"`
+ Hostname string `arg:"--hostname" default:"forge.wit.com" help:"hostname to use"`
+}
+
+type EmptyCmd struct {
}
func (args) Version() string {