This question and answers clang format: disable ordering includes, indicate that the way to disable sorting of includes by clang-format is to set the following. This works as one may expect.
SortIncludes: false
However, the documentation (https://clang.llvm.org/docs/ClangFormatStyleOptions.html) indicates that it should be the following since clang-format 4.
SortIncludes: Never
But clang-format (v 10.0.0-4ubuntu1) does not grok this
$ clang-format -i ./foo.c
YAML:40:15: error: invalid boolean
SortIncludes: Never
^~~~~
Error reading ./.clang-format: Invalid argument
Is this a bug in the documentation, or have I misunderstood what the docs are saying?