Commit 5ccf7a2
committed
[nrf fromlist] west_commands: build: Make the help text responsive to west config
Upstream PR: zephyrproject-rtos/zephyr#74285
Specifically when it comes to sysbuild arguments, the normal help text:
--sysbuild create multi domain build system
--no-sysbuild do not create multi domain build system
(default)
is somewhat misleading when `west config build.sysbuild True` is set.
This effectively changes the default behavior of `west build`, since
when neither argument is provided, it acts as if `--sysbuild` is given.
In this situation, a more accurate message would be:
--sysbuild create multi domain build system (default,
based on west config)
--no-sysbuild do not create multi domain build system
With this patch, the help message will change depending on whether the
value of `build.sysbuild` is true, false, or unset.
Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit a5f5ff03cec1be02ed3f1a9bc295591f4b0219c2)1 parent 82a9e1e commit 5ccf7a2
1 file changed
+27
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 154 | + | |
160 | 155 | | |
161 | 156 | | |
162 | 157 | | |
| |||
166 | 161 | | |
167 | 162 | | |
168 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
169 | 179 | | |
170 | 180 | | |
171 | 181 | | |
| |||
575 | 585 | | |
576 | 586 | | |
577 | 587 | | |
578 | | - | |
579 | | - | |
| 588 | + | |
| 589 | + | |
580 | 590 | | |
581 | 591 | | |
582 | 592 | | |
583 | | - | |
| 593 | + | |
584 | 594 | | |
585 | 595 | | |
586 | 596 | | |
| |||
662 | 672 | | |
663 | 673 | | |
664 | 674 | | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
0 commit comments