Options (4)
-n, --nosyncbooleanList pending updates without syncing the database
Example:
checkupdates {{[-n|--nosync]}}-c, --changebooleanDisplay the list of pending updates if it differs from the last time this option was used
Example:
checkupdates {{[-c|--change]}}-d, --downloadbooleanList pending updates and download the packages to the `pacman` cache (`/var/cache/pacman/pkg`)
Example:
checkupdates {{[-d|--download]}}-h, --helpbooleanDisplay help
Example:
checkupdates {{[-h|--help]}}Examples (6)
Synchronize the database and list pending updates
List pending updates without syncing the database
checkupdates [-n|--nosync]Display the list of pending updates if it differs from the last time this option was used
checkupdates [-c|--change]List pending updates and download the packages to the `pacman` cache (`/var/cache/pacman/pkg`)
checkupdates [-d|--download]List pending updates using a specific `pacman` database
CHECKUPDATES_DB=path/to/directory checkupdatesDisplay help
checkupdates [-h|--help]made by @shridhargupta | data from tldr-pages