Skip to content

Commit

Permalink
Tiny tweak to CLI option help
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Dec 8, 2023
1 parent 7f66b70 commit 1698a9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/cli-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ See :ref:`cli_inserting_data`, :ref:`cli_insert_csv_tsv`, :ref:`cli_insert_unstr
--analyze Run ANALYZE at the end of this operation
--load-extension TEXT Path to SQLite extension, with optional :entrypoint
--silent Do not show progress bar
--strict Apply STRICT mode to table
--strict Apply STRICT mode to created table
--ignore Ignore records if pk already exists
--replace Replace records if pk already exists
--truncate Truncate table before inserting records, if table
Expand Down Expand Up @@ -346,7 +346,7 @@ See :ref:`cli_upsert`.
--analyze Run ANALYZE at the end of this operation
--load-extension TEXT Path to SQLite extension, with optional :entrypoint
--silent Do not show progress bar
--strict Apply STRICT mode to table
--strict Apply STRICT mode to created table
-h, --help Show this message and exit.


Expand Down Expand Up @@ -922,7 +922,7 @@ See :ref:`cli_create_table`.
--replace If table already exists, replace it
--transform If table already exists, try to transform the schema
--load-extension TEXT Path to SQLite extension, with optional :entrypoint
--strict Apply STRICT mode to table
--strict Apply STRICT mode to created table
-h, --help Show this message and exit.


Expand Down
4 changes: 2 additions & 2 deletions sqlite_utils/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ def inner(fn):
"--strict",
is_flag=True,
default=False,
help="Apply STRICT mode to table",
help="Apply STRICT mode to created table",
),
)
):
Expand Down Expand Up @@ -1517,7 +1517,7 @@ def create_database(path, enable_wal, init_spatialite, load_extension):
@click.option(
"--strict",
is_flag=True,
help="Apply STRICT mode to table",
help="Apply STRICT mode to created table",
)
def create_table(
path,
Expand Down

0 comments on commit 1698a9d

Please sign in to comment.