diff --git a/formatcode.sh b/formatcode.sh index f585bc2b3..9a0c1338b 100755 --- a/formatcode.sh +++ b/formatcode.sh @@ -35,4 +35,4 @@ find . -type d \( -path ./deps \ -o -path ./plugins/obs-outputs/ftl-sdk \ -o -path ./plugins/obs-vst \ -o -path ./build \) -prune -type f -o -name '*.h' -or -name '*.hpp' -or -name '*.m' -or -name '*.mm' -or -name '*.c' -or -name '*.cpp' \ -| xargs -I{} -P ${NPROC} ${CLANG_FORMAT} -i -style=file -fallback-style=none {} +| xargs -L100 -P${NPROC} ${CLANG_FORMAT} -i -style=file -fallback-style=none