diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 18:24:43 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 18:24:43 -0500 |
| commit | d61806f20e4678ea698a788a5b5e2a70e08cdcf5 (patch) | |
| tree | 2a37f6e767ce0882f5a709388a4191134d10c619 | |
| parent | 748343faca66d19ed728d940613d60483c84ed45 (diff) | |
oops. didn't remove argv option completely
| -rw-r--r-- | argv.go | 4 | ||||
| -rw-r--r-- | doUpgrade.go | 8 |
2 files changed, 4 insertions, 8 deletions
@@ -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 } |
