The following commands output identical results:
gpg --list-keys --with-colons
gpg --list-keys --with-colons --keyid-format 0xshort
KeyID field is always shown with 16 digits (long format). --keyid-format is
being ignored.
However, without --with-colons, the keyID format is respected and the output is
different:
gpg --list-keys
gpg --list-keys --keyid-format 0xshort