cmd: Don't leak memory when constructing help string