What are the rules for writing compile_flags?

Are spaces not allowed on a single line?

For example: -I src

It says header file not found.

   -I<directory>
              Add the specified directory to the search path for include files.

from

man clang

Note that there is no space.

thank you for your reply,
I figured it out and I think clangd should read each line in compile_flags.txt as a unit.
So my way of writing it is equivalent to clang-11 "--help --version".

For clangd, I prefer compilation databases. Many build systems can generate them:
https://sarcasm.github.io/notes/dev/compilation-database.html