laforge has submitted this change. (
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(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
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
--
To view, visit
https://gerrit.osmocom.org/c/osmo-remsim/+/28771
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: Icfb74597dd813cee8b48b8dcf520fdd1c954338a
Gerrit-Change-Number: 28771
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged