Neither the companion pet's original name, or the name you've given it. Was there a change in 5.1?
/target companion pet?
Why do you need to target your pet? You have a pet bar for that...Companion pets do not have an action bar. "Companion" pets refers to Battle Pets (formerly non-combat pets). You are thinking of Combat Pets (Hunter pets, Warlock Demons, etc...)
That wouldn't work anyway; your pet (companion or otherwise) is a friendly unit, thus not a valid target for any harmful spell. The only reason I can think of to want to target a Companion pet explicitly is to use an RP macro with %t to insert the pet's name.12/12/2012 06:35 AMPosted by AppiAre you trying to use your pet as a target dummy?
/say Just look at my %t, isn't he so precious?
Please report any Code of Conduct violations, including:
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.