From f4ce449e7ba5de977de8e8d100bf26dabafb97be Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 3 Oct 2025 04:21:37 -0500 Subject: rename file --- argv.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'argv.go') diff --git a/argv.go b/argv.go index 165d5c1..06251d9 100644 --- a/argv.go +++ b/argv.go @@ -29,7 +29,7 @@ type args struct { Test *EmptyCmd `arg:"subcommand:test" help:"test build everything first"` Clone *EmptyCmd `arg:"subcommand:repomap-clone" help:"go-clone from a gowebd repomap"` Rdate *EmptyCmd `arg:"subcommand:rdate" help:"standard rdate"` - Upgrade *DefaultCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"` + Upgrade *UpgradeCmd `arg:"subcommand:upgrade" help:"apt upgrade packages installed from mirrors.wit.com"` RepoMap string `arg:"--repomap" help:"location of the repomap"` Release bool `arg:"--release" help:"use go-deb --release"` DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` @@ -48,6 +48,11 @@ type DebianCmd struct { SkipInstall bool `arg:"--skip-install" help:"rebuild everything"` } +type UpgradeCmd struct { + DryRun bool `arg:"--dry-run" help:"don't really do anything"` + Force bool `arg:"--force" help:"force un-install and re-install each package"` +} + type DefaultCmd struct { DryRun bool `arg:"--dry-run" help:"only show what would be packaged"` Verbose bool `arg:"--verbose" help:"be loud about it"` -- cgit v1.2.3