Make -m imply -n in recipe/upgrade

This commit is contained in:
Cassowary 2023-04-13 09:32:09 -07:00 committed by Gitea
parent 152c5d4563
commit 87e5909363
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ You may invoke this command in "wizard" mode and be prompted for input:
}
}
if internal.MachineReadable {
// -m implies -n in this case
internal.NoInput = true
}
upgradeList := make(map[string]anUpgrade)
// check for versions file and load pinned versions