[PATCH 1/4] cmd: Don't use WCMD_is_console_handle.