mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Docs: add argument spec to sqlite3 CLI docs (#99200)
This commit is contained in:
parent
5ff81da6d3
commit
e02f1e2df9
1 changed files with 6 additions and 1 deletions
|
@ -1834,8 +1834,13 @@ The deprecated default adapters and converters consist of:
|
||||||
Command-line interface
|
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.
|
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.
|
Type ``.quit`` or CTRL-D to exit the shell.
|
||||||
|
|
||||||
.. program:: python -m sqlite3 [-h] [-v] [filename] [sql]
|
.. program:: python -m sqlite3 [-h] [-v] [filename] [sql]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue