summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/argv.go b/argv.go
index ca5b89f..dab16cc 100644
--- a/argv.go
+++ b/argv.go
@@ -15,12 +15,13 @@ import (
var argv args
type args struct {
- Auto bool `arg:"--auto" help:"automatically attempt to make the .deb"`
- Ldflags []string `arg:"--ldflags" help:"flags to pass to go build"`
- Repo string `arg:"--repo" help:"go get path to the repo"`
- PkgDir string `arg:"--pkg-dir" help:"set default directory (~/incoming/)"`
- Release bool `arg:"--release" help:"build a release from the last git tag"`
- KeepFiles bool `arg:"--keep-files" help:"keep the build files/"`
+ Auto bool `arg:"--auto" help:"automatically attempt to make the .deb"`
+ Ldflags []string `arg:"--ldflags" help:"flags to pass to go build"`
+ Repo string `arg:"--repo" help:"go get path to the repo"`
+ PkgDir string `arg:"--pkg-dir" help:"set default directory (~/incoming/)"`
+ Release bool `arg:"--release" help:"build a release from the last git tag"`
+ KeepFiles bool `arg:"--keep-files" help:"keep the build files/"`
+ Force bool `arg:"--force" default:"false" help:"force overwrite an existing .deb file"`
}
func init() {