command/keyring: clean up output