From 7142dbd58d25d54720c8396bd35990fd1387ba77 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 8 Feb 2022 22:57:21 -0800 Subject: [PATCH] Fixed typo in --help --- docs/cli-reference.rst | 2 +- sqlite_utils/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli-reference.rst b/docs/cli-reference.rst index 5b7c6fe..abfacc2 100644 --- a/docs/cli-reference.rst +++ b/docs/cli-reference.rst @@ -220,7 +220,7 @@ See :ref:`cli_inserting_data`, :ref:`cli_insert_csv_tsv`. }' If you are using --lines your code will be passed a "line" variable, and for - --text an "text" variable. + --text a "text" variable. Options: --pk TEXT Columns to use as the primary key, e.g. id diff --git a/sqlite_utils/cli.py b/sqlite_utils/cli.py index 2ad7aff..0da3817 100644 --- a/sqlite_utils/cli.py +++ b/sqlite_utils/cli.py @@ -1157,7 +1157,7 @@ def insert( }' If you are using --lines your code will be passed a "line" variable, - and for --text an "text" variable. + and for --text a "text" variable. """ try: insert_upsert_implementation(