Skip to content

Commit eee564f

Browse files
marc-hbnashif
authored andcommitted
doc: add space after cmake -Bdir and ninja -Cdir options
Let's be consistent with official cmake, ninja and make documentations. https://cmake.org/cmake/help/latest/manual/cmake.1.html cmake --help man cmake https://ninja-build.org/manual.html#_running_ninja ninja --help https://www.gnu.org/software/make/manual/make.html#Options-Summary info make 'Options Summary' etc. Related to issue #15315 Signed-off-by: Marc Herbert <[email protected]>
1 parent cd4c268 commit eee564f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/extensions/zephyr/application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ def _generate_cmake(self, **kwargs):
366366
tool_build_dir = ''
367367
else:
368368
source_dir = ' {}'.format(app) if app else ' .'
369-
cmake_build_dir = ' -B{}'.format(build_dir)
370-
tool_build_dir = ' -C{}'.format(build_dir)
369+
cmake_build_dir = ' -B {}'.format(build_dir)
370+
tool_build_dir = ' -C {}'.format(build_dir)
371371

372372
# Now generate the actual cmake and make/ninja commands
373373
gen_arg = ' -GNinja' if generator == 'ninja' else ''

0 commit comments

Comments
 (0)