The passport you show the airline and the passport you show immigration do not need to be the same (as the same border). Some countries/airlines are very used to people having 2 passports. Do not offer or say anything about the other passport unless asked. Always be honest. At immigration controls always use the same passport in & out.