This commit is contained in:
tth 2020-10-11 23:23:31 +02:00
parent ada15d4817
commit 14c673f7e0

View File

@ -75,6 +75,7 @@ exit(1);
int help(int k) int help(int k)
{ {
puts("HELP ME !"); puts("HELP ME !");
puts("\t-p NNN\t\tlocal listening port"); puts("\t-p NNN\t\tlocal listening port");
puts("\t-R a.b.c.d\tremote host"); puts("\t-R a.b.c.d\tremote host");
puts("\t-P NNN\t\tremote port"); puts("\t-P NNN\t\tremote port");
@ -95,6 +96,8 @@ int opt, foo;
lo_server_thread st; lo_server_thread st;
long starttime; long starttime;
fprintf(stderr, "%s compiled %s at %s\n",argv[0], __DATE__, __TIME__);
/* parsing command line options */ /* parsing command line options */
while ((opt = getopt(argc, argv, "hp:vL:S:R:P:")) != -1) { while ((opt = getopt(argc, argv, "hp:vL:S:R:P:")) != -1) {
switch (opt) { switch (opt) {