Skip to content

Commit 2b24a49

Browse files
marc-hbkartben
authored andcommitted
doc: twister: fix argument order in custom flash example
Fixes sample command added to the documentation by commit a31f784 ("twister: add a --flash-command flag") During the review of #93944, I recommended to change the order and pass user --flag(s) last. This was changed in the code but not in the example added to the documentation. Signed-off-by: Marc Herbert <[email protected]>
1 parent f44c22b commit 2b24a49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/develop/test/twister.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,8 +1466,9 @@ in a hardware map.
14661466
--device-serial COM1
14671467
--flash-command 'custom_flash_script.py,--flag,"complex,argument"'
14681468

1469-
Would result in calling ``./custom_flash_script.py --flag complex,argument --build-dir
1470-
<build directory> --board-id <board identification>``.
1469+
Would result in calling ``./custom_flash_script.py
1470+
--build-dir <build directory> --board-id <board identification>
1471+
--flag complex,argument``.
14711472

14721473
Fixtures
14731474
+++++++++

0 commit comments

Comments
 (0)