ensure command-line --keys is also respected