summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/argv.go b/argv.go
index 1ceb6cc..42f53af 100644
--- a/argv.go
+++ b/argv.go
@@ -8,8 +8,6 @@ package main
import (
"go.wit.com/dev/alexflint/arg"
- "go.wit.com/lib/debugger"
- "go.wit.com/log"
)
var argv args
@@ -17,7 +15,7 @@ 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"`
+ Forge string `arg:"--forge" help:"use a git repo from forge"`
OutDir string `arg:"--dir" help:"write .deb file into this directory"`
Release bool `arg:"--release" help:"build a release from the last git tag"`
KeepFiles bool `arg:"--keep-files" help:"keep the build files/"`
@@ -27,11 +25,13 @@ type args struct {
func init() {
arg.MustParse(&argv)
- if debugger.ArgDebug() {
- log.Info("cmd line --debugger == true")
- } else {
- log.Info("cmd line --debugger == false")
- }
+ /*
+ if debugger.ArgDebug() {
+ log.Info("cmd line --debugger == true")
+ } else {
+ log.Info("cmd line --debugger == false")
+ }
+ */
}
func (args) Version() string {