CLI: handle boolean params correctly