diff --git a/cli/recipe/upgrade.go b/cli/recipe/upgrade.go index 9c1dd50b..c70ef4f3 100644 --- a/cli/recipe/upgrade.go +++ b/cli/recipe/upgrade.go @@ -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