Skip to content

Commit e02f1e2

Browse files
Docs: add argument spec to sqlite3 CLI docs (#99200)
1 parent 5ff81da commit e02f1e2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Doc/library/sqlite3.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,8 +1834,13 @@ The deprecated default adapters and converters consist of:
18341834
Command-line interface
18351835
^^^^^^^^^^^^^^^^^^^^^^
18361836

1837-
The :mod:`!sqlite3` module can be invoked as a script
1837+
The :mod:`!sqlite3` module can be invoked as a script,
1838+
using the interpreter's :option:`-m` switch,
18381839
in order to provide a simple SQLite shell.
1840+
The argument signature is as follows::
1841+
1842+
python -m sqlite3 [-h] [-v] [filename] [sql]
1843+
18391844
Type ``.quit`` or CTRL-D to exit the shell.
18401845

18411846
.. program:: python -m sqlite3 [-h] [-v] [filename] [sql]

0 commit comments

Comments
 (0)