cmd: Use BOOL instead of int for boolean variables.