Eric Pouech : cmd: Consistenly use the same variable to identify current command.