Shorter help for --functions

This commit is contained in:
Simon Willison 2025-11-23 21:45:49 -08:00
commit 4147ed0704
2 changed files with 8 additions and 9 deletions

View file

@ -1376,7 +1376,7 @@ def upsert(
@click.option("--batch-size", type=int, default=100, help="Commit every X records")
@click.option(
"--functions",
help="Python code block or file path defining custom SQL functions, can be used multiple times",
help="Python code or file path defining custom SQL functions",
multiple=True,
)
@import_options
@ -1767,7 +1767,7 @@ def drop_view(path, view, ignore, load_extension):
)
@click.option(
"--functions",
help="Python code block or file path defining custom SQL functions, can be used multiple times",
help="Python code or file path defining custom SQL functions",
multiple=True,
)
@load_extension_option
@ -1833,7 +1833,7 @@ def query(
@click.argument("sql")
@click.option(
"--functions",
help="Python code block or file path defining custom SQL functions, can be used multiple times",
help="Python code or file path defining custom SQL functions",
multiple=True,
)
@click.option(