laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/28771 )
Change subject: client: Fix '-a' command-line argument for ATR ......................................................................
client: Fix '-a' command-line argument for ATR
The argument existed (as a long option), and was documented in the user manual - but it wasn't printed in the help message, nor was it present in the getopt_long() string.
Let's fix that.
Change-Id: Icfb74597dd813cee8b48b8dcf520fdd1c954338a --- M src/client/remsim_client_main.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/71/28771/1
diff --git a/src/client/remsim_client_main.c b/src/client/remsim_client_main.c index e3d3cf8..4238864 100644 --- a/src/client/remsim_client_main.c +++ b/src/client/remsim_client_main.c @@ -32,6 +32,7 @@ " -p --server-port 13245 remsim-server TCP port\n" " -c --client-id <0-1023> RSPRO ClientId of this client\n" " -n --client-slot <0-1023> RSPRO SlotNr of this client\n" + " -a --atr HEXSTRING default ATR to simulate (until bankd overrides it)\n" " -e --event-script <path> event script to be called by client\n" #ifdef USB_SUPPORT " -V --usb-vendor VENDOR_ID\n" @@ -73,7 +74,7 @@ { 0, 0, 0, 0 } };
- c = getopt_long(argc, argv, "hvd:i:p:c:n:e:" + c = getopt_long(argc, argv, "hvd:i:p:c:n:a:e:" #ifdef USB_SUPPORT "V:P:C:I:S:A:H:" #endif