cpp: fixed warnings, fixed help msg