From 4a55c7e123dee0f606b84f8c7599e5ce581ad828 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 29 Oct 2019 10:31:23 +0100 Subject: Improve zmq2edi usage screen readability --- src/zmq2edi/zmq2edi.cpp | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'src/zmq2edi') diff --git a/src/zmq2edi/zmq2edi.cpp b/src/zmq2edi/zmq2edi.cpp index 7f34610..fead249 100644 --- a/src/zmq2edi/zmq2edi.cpp +++ b/src/zmq2edi/zmq2edi.cpp @@ -57,21 +57,22 @@ static void usage() cerr << "Options:" << endl; cerr << "The following options can be given only once:" << endl; cerr << " is a ZMQ URL that points to a ODR-DabMux ZMQ output." << endl; - cerr << " -w Keep every ETI frame until TIST is milliseconds after current system time." << endl; - cerr << " -x Drop frames where for which the wait time would be negative, i.e. frames that arrived too late." << endl; - cerr << " -p sets the destination port." << endl; - cerr << " -P Disable PFT and send AFPackets." << endl; - cerr << " -f sets the FEC." << endl; - cerr << " -i enables the interleaved with this latency." << endl; - cerr << " -D dumps the EDI to edi.debug file." << endl; - cerr << " -v Enables verbose mode." << endl; - cerr << " -a sets the alignment of the TAG Packet (default 8)." << endl << endl; + cerr << " -w Keep every ETI frame until TIST is milliseconds after current system time." << endl; + cerr << " Negative delay values are also allowed." << endl; + cerr << " -x Drop frames where for which the wait time would be negative, i.e. frames that arrived too late." << endl; + cerr << " -p Set the destination port." << endl; + cerr << " -P Disable PFT and send AFPackets." << endl; + cerr << " -f Set the FEC." << endl; + cerr << " -i Enable the interleaver with this latency." << endl; + cerr << " -D Dump the EDI to edi.debug file." << endl; + cerr << " -v Enables verbose mode." << endl; + cerr << " -a Set the alignment of the TAG Packet (default 8)." << endl << endl; cerr << "The following options can be given several times, when more than UDP destination is desired:" << endl; - cerr << " -d sets the destination ip." << endl; - cerr << " -s sets the source port." << endl; - cerr << " -S select the source IP in case we want to use multicast." << endl; - cerr << " -t set the packet's TTL." << endl << endl; + cerr << " -d Set the destination ip." << endl; + cerr << " -s Set the source port." << endl; + cerr << " -S Select the source IP in case we want to use multicast." << endl; + cerr << " -t Set the packet's TTL." << endl << endl; cerr << "The input socket will be reset if no data is received for " << (int)(MAX_ERROR_COUNT * ZMQ_TIMEOUT_MS / 1000.0) << " seconds." << endl; -- cgit v1.2.3