Skip to content

Commit 9ccf605

Browse files
committed
app: tell the user to use -vv when debugging "manifest --validate"
It seems natural to recommend "debug" flags when telling the user to "debug". More specifically, this makes a big difference in situations like the one reported in zephyrproject-rtos#671 Signed-off-by: Marc Herbert <[email protected]>
1 parent c399c01 commit 9ccf605

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/west/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def append(*strings):
982982
# warn them again.
983983
append('Cannot load extension commands; '
984984
'help for them is not available.')
985-
append('(To debug, try: "west manifest --validate".)')
985+
append('(To debug, try: "west -vv manifest --validate".)')
986986
append('')
987987
else:
988988
# TODO we may want to be more aggressive about loading

src/west/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def _get_manifest(self) -> Manifest:
260260
if self._manifest is None:
261261
self.die(f"can't run west {self.name};",
262262
"it requires the manifest, which was not available.",
263-
'Try "west manifest --validate" to debug.')
263+
'Try "west -vv manifest --validate" to debug.')
264264
return self._manifest
265265

266266
def _set_manifest(self, manifest: Optional[Manifest]):

0 commit comments

Comments
 (0)