summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index cb952ce..244d53a 100644
--- a/argv.go
+++ b/argv.go
@@ -21,6 +21,7 @@ type args struct {
Full bool `arg:"--full" help:"build every package"`
Reason string `arg:"--reason" help:"tag message"`
Force bool `arg:"--force" help:"try harder than normal"`
+ AutoRun bool `arg:"--auto-run" help:"automatically process everything"`
Port int `arg:"--port" default:"9419" help:"do fun stuff with curl"`
}
@@ -66,7 +67,7 @@ func (args) Buildtime() (string, string) {
func (a args) DoAutoComplete(pb *prep.Auto) {
if pb.Cmd == "" {
- pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason", "--version"})
+ pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason", "--version", "--auto-run"})
} else {
pb.SubCommand(pb.Goargs...)
}