Skip to content

Commit 49945fe

Browse files
default --verbose to true
This makes verbose output enabled by default so that the TUI always receives script output paths (which are gated on verbose inside execute_script). Without this, --verbose had to be explicitly passed for the testing-status panel to show paths to unit-test, conformance-test and prepare-environment outputs. The --verbose / -v flag is retained for backward compatibility but is now effectively a no-op. The --verbose flag should be reconsidered in the future — is it even needed at all, or should verbose behavior be unconditional and the flag removed entirely?
1 parent d23e9dd commit 49945fe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

plain2code_arguments.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ def create_parser():
175175
help="Path to the plain file to render. The directory containing this file has highest precedence for template loading, "
176176
"so you can place custom templates here to override the defaults. See --template-dir for more details about template loading.",
177177
)
178-
parser.add_argument("--verbose", "-v", action="store_true", help="Enable verbose output")
178+
parser.add_argument(
179+
"--verbose", "-v", action="store_true", default=True, help="Enable verbose output (default: enabled)"
180+
)
179181
parser.add_argument("--base-folder", type=str, help="Base folder for the build files")
180182
parser.add_argument(
181183
"--build-folder", type=non_empty_string, default=DEFAULT_BUILD_FOLDER, help="Folder for build files"

0 commit comments

Comments
 (0)