summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--argv.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/argv.go b/argv.go
index 1c7c2e3..e3e0421 100644
--- a/argv.go
+++ b/argv.go
@@ -22,8 +22,12 @@ type args struct {
Reason string `arg:"--reason" help:"tag message"`
Force bool `arg:"--force" help:"try harder than normal"`
Port int `arg:"--port" default:"9419" help:"do fun stuff with curl"`
- Bash bool `arg:"--bash" help:"generate bash completion"`
- BashAuto []string `arg:"--auto-complete" help:"does the actual autocompletion"`
+}
+
+func (args) Examples() string {
+ var out string
+ out += "guireleaser --full # release everything\n"
+ return out
}
type QuickCmd struct {
@@ -58,7 +62,7 @@ func (args) Appname() string {
func (a args) DoAutoComplete(pb *prep.Auto) {
if pb.Cmd == "" {
- pb.Autocomplete3([]string{"--bash", "quick"})
+ pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason"})
} else {
pb.SubCommand(pb.Argv...)
}