[PATCH] cmd: Use the ARRAY_SIZE() macro