From 428e9a65e0ffc931cdf6db8f1dc370aa3e95d68e Mon Sep 17 00:00:00 2001 From: CmdP1rx Date: Wed, 1 May 2024 16:59:07 -0400 Subject: [PATCH] Updated the help CLI: punctuations, grammar, and style. --- core/dbt/cli/params.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/dbt/cli/params.py b/core/dbt/cli/params.py index 8450b38705b..cf0961957df 100644 --- a/core/dbt/cli/params.py +++ b/core/dbt/cli/params.py @@ -108,7 +108,7 @@ export_saved_queries = click.option( "--export-saved-queries/--no-export-saved-queries", envvar="DBT_EXPORT_SAVED_QUERIES", - help="Export saved queries within the 'build' command, otherwise no-op.", + help="Export saved queries within the `build` command, otherwise no-op.", is_flag=True, hidden=True, ) @@ -272,7 +272,7 @@ "--output", "-o", envvar=None, - help="Specify the output path for the JSON report. By default, outputs to 'target/sources.json'.", + help="Specify the output path for the JSON report. By default, outputs to 'target.json` or `sources.json'.", type=click.Path(file_okay=True, dir_okay=False, writable=True), default=None, ) @@ -692,7 +692,7 @@ def _version_callback(ctx, _param, value): envvar="DBT_WARN_ERROR_OPTIONS", default="{}", help="""If dbt would normally warn, instead raise an exception based on include/exclude configuration. Examples include `--select` that selects nothing, deprecations, configurations with no associated models, invalid test configurations, - and missing sources/refs in tests. This argument should be a YAML string, with keys 'include' or 'exclude'. eg. '{"include": "all", "exclude": ["NoNodesForSelectionCriteria"]}'.""", + and missing sources/refs in tests. This argument should be a YAML string, with keys `include` or `exclude`. eg. '{"include": "all", "exclude": ["NoNodesForSelectionCriteria"]}'.""", type=WarnErrorOptionsType(), )