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
This commit is contained in:
Harald Welte
2021-04-11 12:31:40 +02:00
parent 28c2431f9c
commit 8fe1d202c7
2 changed files with 12 additions and 53 deletions

View File

@@ -84,18 +84,9 @@ Specifically, pySim-read will dump the following:
* EF.IST
::
pySim-read usage
~~~~~~~~~~~~~~~~
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)
.. argparse::
:module: pySim-read
:func: option_parser