summaryrefslogtreecommitdiff
path: root/forgeConfig/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-20 13:43:26 -0600
committerJeff Carr <[email protected]>2024-11-20 13:43:26 -0600
commit09f855910c9c5ebf146bd6ff1b00e911f7b850d5 (patch)
tree63aa9a027eb4205eca8afdfa152609e26e8a5634 /forgeConfig/argv.go
parente14bc69169643c7f3eb3e31447657a877716eda4 (diff)
exposes memory corruption. need to fix
Diffstat (limited to 'forgeConfig/argv.go')
-rw-r--r--forgeConfig/argv.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/forgeConfig/argv.go b/forgeConfig/argv.go
index 44aff23..9081e9e 100644
--- a/forgeConfig/argv.go
+++ b/forgeConfig/argv.go
@@ -12,6 +12,7 @@ type args struct {
ConfigDir string `arg:"env:FORGE_HOME" help:"defaults to ~/.config/forge/"`
List bool `arg:"--list" default:"false" help:"list repos in your config"`
Add bool `arg:"--add" default:"false" help:"add a new repo"`
+ Update bool `arg:"--update" default:"false" help:"update a repo"`
Name string `arg:"--name" help:"name of the repo"`
GoPath string `arg:"--gopath" help:"gopath of the repo"`
}