summaryrefslogtreecommitdiff
path: root/doUpgrade.go
diff options
context:
space:
mode:
Diffstat (limited to 'doUpgrade.go')
-rw-r--r--doUpgrade.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/doUpgrade.go b/doUpgrade.go
index 5c644db..a94e680 100644
--- a/doUpgrade.go
+++ b/doUpgrade.go
@@ -45,7 +45,11 @@ func doUpgrade() error {
}
fmt.Println("Installed Packages:")
- me.machine.PrintTable(me.machine.Wit)
+ if argv.All {
+ me.machine.PrintTable(me.machine.Wit)
+ } else {
+ me.machine.PrintInstalledTable()
+ }
if argv.Force {
// force remove the packages. can be used if binaries change but versions didn't