diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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"` |
