client: Allow specification of clientId / slotNr as command line arguments
Change-Id: I0a96a49af8bceb5f14db056f11619a12ef42f4f1
diff --git a/src/remsim_client.c b/src/remsim_client.c
index 2469ac5..38092b4 100644
--- a/src/remsim_client.c
+++ b/src/remsim_client.c
@@ -174,7 +174,7 @@
" -i --server-ip A.B.C.D remsim-server IP address\n"
" -p --server-port 13245 remsim-server TCP port\n"
" -i --client-id <0-65535> RSPRO ClientId of this client\n"
- " -s --client-slot <0-65535> RSPRO SlotNr of this client\n"
+ " -n --client-slot <0-65535> RSPRO SlotNr of this client\n"
);
}
@@ -187,11 +187,11 @@
{ "server-ip", 1, 0, 'i' },
{ "server-port", 1, 0, 'p' },
{ "client-id", 1, 0, 'c' },
- { "client-slot", 1, 0, 's' },
+ { "client-slot", 1, 0, 'n' },
{ 0, 0, 0, 0 }
};
- c = getopt_long(argc, argv, "hi:p:c:s:",
+ c = getopt_long(argc, argv, "hi:p:c:n:",
long_options, &option_index);
if (c == -1)
break;