# Weird flags diagnostics

**URL:** https://discourse.cmake.org/t/weird-flags-diagnostics/12912
**Category:** Usage
**Created:** [November 7, 2024, 1:27pm UTC](https://discourse.cmake.org/t/weird-flags-diagnostics/12912 "2024-11-07T13:27:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kurapov-peter](https://discourse.cmake.org/user_avatar/discourse.cmake.org/kurapov-peter/32/5096_2.png) [@kurapov-peter](https://discourse.cmake.org/u/kurapov-peter)
#### Post date: [November 7, 2024, 1:27pm UTC](https://discourse.cmake.org/t/weird-flags-diagnostics/12912/1 "2024-11-07T13:27:04Z")

</div>

Hi! I noticed some confusing behavior in arguments parsing/diagnostics when mistyped --build:

```auto
cmake --bulid build/RelWithDebInfo/ --parallel 8
CMake Warning:
  Ignoring extra path from command line:
 
   "8"
 
 
CMake Error: Unknown argument --parallel

```

---

<div class="post-metadata">

### Author: ![scivision](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/a87d85/32.png) [@scivision](https://discourse.cmake.org/u/scivision)
#### Post date: [November 8, 2024, 2:35am UTC](https://discourse.cmake.org/t/weird-flags-diagnostics/12912/2 "2024-11-08T02:35:14Z")

</div>

I think CMake sees this as a configure command, which has a less strict parser for legacy compatibility
