[BZ 1142984] Fix parsing of output from help --commands