From 659bed891bc1aff56bc87e2de663fb63d2b1b81a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 3 Dec 2024 00:33:17 -0600 Subject: start making this tool useful --- argv.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'argv.go') diff --git a/argv.go b/argv.go index 71959a2..8fe0b64 100644 --- a/argv.go +++ b/argv.go @@ -9,7 +9,8 @@ var argv args type args struct { List bool `arg:"--list" help:"list found repos"` ListConf bool `arg:"--list-conf" help:"list your .config/forge/ configuration"` - ReadOnly bool `arg:"--read-only" help:"include read-only repos"` + Scan bool `arg:"--scan" help:"rescan your repos"` + ReadOnly bool `arg:"--readonly" help:"include read-only repos"` GetMine bool `arg:"--mine" help:"download private and writeable repos"` GetFav bool `arg:"--favorites" help:"download repos marked as favorites"` Pull bool `arg:"--git-pull" help:"run 'git pull' on all your repos"` @@ -17,7 +18,7 @@ type args struct { Install bool `arg:"--install" help:"try to install every binary package"` RedoGoMod bool `arg:"--RedoGoMod" help:"remake all the go.sum and go.mod files"` DryRun bool `arg:"--dry-run" help:"show what would be run"` - Real bool `arg:"--real" help:"do the change, save config & exit"` + Real bool `arg:"--fix" help:"fix config, save config & exit"` } func (args) Version() string { -- cgit v1.2.3