[Python-checkins] Docs: add argument spec to sqlite3 CLI docs (#99200)

erlend-aasland webhook-mailer at python.org
Mon Nov 7 08:19:13 EST 2022


https://github.com/python/cpython/commit/e02f1e2df935b0ca70ddded7676089b8fb879781
commit: e02f1e2df935b0ca70ddded7676089b8fb879781
branch: main
author: Erlend E. Aasland <erlend.aasland at protonmail.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-11-07T14:18:36+01:00
summary:

Docs: add argument spec to sqlite3 CLI docs (#99200)

files:
M Doc/library/sqlite3.rst

diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index accbda05b62b..8deaceb7f386 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -1834,8 +1834,13 @@ The deprecated default adapters and converters consist of:
 Command-line interface
 ^^^^^^^^^^^^^^^^^^^^^^
 
-The :mod:`!sqlite3` module can be invoked as a script
+The :mod:`!sqlite3` module can be invoked as a script,
+using the interpreter's :option:`-m` switch,
 in order to provide a simple SQLite shell.
+The argument signature is as follows::
+
+   python -m sqlite3 [-h] [-v] [filename] [sql]
+
 Type ``.quit`` or CTRL-D to exit the shell.
 
 .. program:: python -m sqlite3 [-h] [-v] [filename] [sql]



More information about the Python-checkins mailing list