[PATCH 1/2] cmd: Fix handling of nested if-for expressions on a single line.