Can NPCs tell I am casting Command?

If I cast Command on an unfriendly NPC, can their allies (and other NPCs) tell I am casting magic, or would it appear to simply be a (small-c) command?

For a concrete example, if I Command a bandit leader to surrender, would it piss off the other bandits?