diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-03-06 20:56:14 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-03-06 20:56:14 +0100 |
commit | 62bfd8a7a983f45a8d065ff64e60b40ffa8eb453 (patch) | |
tree | 68d81df41fd3e0efa39a56ab9ca074205203bda7 | |
parent | b170ea90d35e42de7daeca344d6871684da3aec3 (diff) |
simtrace2-remsim: Document and add longopts for UDP forwarding
-rw-r--r-- | host/simtrace2-remsim.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/host/simtrace2-remsim.c b/host/simtrace2-remsim.c index a6f013f..ff5c234 100644 --- a/host/simtrace2-remsim.c +++ b/host/simtrace2-remsim.c @@ -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' }, |