path: root/docs
diff options
authorHarald Welte <laforge@osmocom.org>2021-04-11 12:31:40 +0200
committerHarald Welte <laforge@osmocom.org>2021-04-11 12:35:25 +0200
commitad605b732db2c951d481f72abebd8b0a120b7afb (patch)
treee044629161f63d9c28e9ded1dfabdd61189829a2 /docs
parent73ad5b384bbe9917a3db458ae5e0d77f39e24eac (diff)
pySim-read: Migrate over to use shared argparse from transport
Now that we have a shared argparse definition for all reader related options in the transport module, use that. Change-Id: I12ca1a484a5d6e84820d9761c9701f8a94381f66
Diffstat (limited to 'docs')
1 files changed, 6 insertions, 15 deletions
diff --git a/docs/legacy.rst b/docs/legacy.rst
index dad83d8..ec3ddfc 100644
--- a/docs/legacy.rst
+++ b/docs/legacy.rst
@@ -84,18 +84,9 @@ Specifically, pySim-read will dump the following:
- Usage: pySim-read.py [options]
- Options:
- -h, --help show this help message and exit
- -d DEV, --device=DEV Serial Device for SIM access [default: /dev/ttyUSB0]
- -b BAUD, --baud=BAUD Baudrate used for SIM access [default: 9600]
- -p PCSC, --pcsc-device=PCSC
- Which PC/SC reader number for SIM access
- --modem-device=DEV Serial port of modem for Generic SIM Access (3GPP TS
- 27.007)
- --modem-baud=BAUD Baudrate used for modem's port [default: 115200]
- --osmocon=PATH Socket path for Calypso (e.g. Motorola C1XX) based
- reader (via OsmocomBB)
+pySim-read usage
+.. argparse::
+ :module: pySim-read
+ :func: option_parser