Print specified key name
Fix wrong test for key name option