summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-15 18:24:43 -0500
committerJeff Carr <[email protected]>2025-10-15 18:24:43 -0500
commitd61806f20e4678ea698a788a5b5e2a70e08cdcf5 (patch)
tree2a37f6e767ce0882f5a709388a4191134d10c619
parent748343faca66d19ed728d940613d60483c84ed45 (diff)
oops. didn't remove argv option completely
-rw-r--r--argv.go4
-rw-r--r--doUpgrade.go8
2 files changed, 4 insertions, 8 deletions
diff --git a/argv.go b/argv.go
index f01b688..e9d44f4 100644
--- a/argv.go
+++ b/argv.go
@@ -75,8 +75,8 @@ type CloneCmd struct {
}
type UpgradeCmd struct {
- All bool `arg:"--all" help:"show all the packages"`
- Force bool `arg:"--force" help:"force un-install and re-install each package"`
+ All bool `arg:"--all" help:"show all the packages"`
+ Force bool `arg:"--force" help:"force un-install and re-install each package"`
}
type PublishCmd struct {
diff --git a/doUpgrade.go b/doUpgrade.go
index 1fc14b3..45ea369 100644
--- a/doUpgrade.go
+++ b/doUpgrade.go
@@ -31,12 +31,8 @@ func doPackageList(all bool) {
func doUpgrade() error {
me.machine = debian.InitMachine()
- if argv.Upgrade.List != nil {
- if argv.All {
- doPackageList(true)
- } else {
- doPackageList(false)
- }
+ if argv.All {
+ doPackageList(true)
return nil
}