[PATCH] cmd: Avoid using the comma operator