[PATCH v2 06/36] cli: Use unsigned int instead of unsigned long