simtrace2-remsim: Document and add longopts for UDP forwarding

This commit is contained in:
Harald Welte 2017-03-06 20:56:14 +01:00
parent b170ea90d3
commit 62bfd8a7a9
1 changed files with 6 additions and 2 deletions

View File

@ -337,15 +337,19 @@ static void print_welcome(void)
static void print_help(void)
{
printf( "\t-i\t--gsmtap-ip\tA.B.C.D\n"
"\t-a\t--skip-atr\n"
printf( "\t-r\t--remote-udp-host HOST\n"
"\t-p\t--remote-udp-port PORT\n"
"\t-h\t--help\n"
"\t-i\t--gsmtap-ip\tA.B.C.D\n"
"\t-a\t--skip-atr\n"
"\t-k\t--keep-running\n"
"\n"
);
}
static const struct option opts[] = {
{ "remote-udp-host", 1, 0, 'r' },
{ "remote-udp-port", 1, 0, 'p' },
{ "gsmtap-ip", 1, 0, 'i' },
{ "skip-atr", 0, 0, 'a' },
{ "help", 0, 0, 'h' },