UpgradeOptions

Option flags for Dub.upgrade

Values

ValueMeaning
none0
upgrade1 << 1

Upgrade existing packages

preRelease1 << 2

include pre-release versions in upgrade

forceRemove1 << 3

Deprecated, does nothing.

select1 << 4

Update the dub.selections.json file with the upgraded versions

dryRun1 << 5

Instead of downloading new packages, just print a message to notify the user of their existence

printUpgradesOnlydryRun

deprecated, use dryRun instead

useCachedResult1 << 6

deprecated, has no effect

noSaveSelections1 << 7

Don't store updated selections on disk

Meta