Commit 81f06fbd authored by Joanne Hugé's avatar Joanne Hugé

Add packet priority option to usage help display

parent 66c56024
...@@ -78,7 +78,7 @@ struct timespec measures_start; ...@@ -78,7 +78,7 @@ struct timespec measures_start;
struct timespec measures_end; struct timespec measures_end;
static void help(char *argv[]) { static void help(char *argv[]) {
printf("Usage: %s -f IF [-abethgv] [-d BUF_LEN] [-i USEC] [-l N] [-p PRIO] [-r USEC]\n\n", argv[0]); printf("Usage: %s -f IF [-abethgv] [-d BUF_LEN] [-i USEC] [-l N] [-p PRIO] [-q PACKET_PRIO] [-r USEC]\n\n", argv[0]);
printf(" -a Run the real time thread on CPU1\n"); printf(" -a Run the real time thread on CPU1\n");
printf(" -b Measure RTT\n"); printf(" -b Measure RTT\n");
printf(" -d BUF_LEN Set the length of tx buffer\n"); printf(" -d BUF_LEN Set the length of tx buffer\n");
...@@ -89,6 +89,7 @@ static void help(char *argv[]) { ...@@ -89,6 +89,7 @@ static void help(char *argv[]) {
printf(" -i USEC Wake up the real time thread every USEC microseconds (Default: 10ms)\n"); printf(" -i USEC Wake up the real time thread every USEC microseconds (Default: 10ms)\n");
printf(" -l N Wake up the real time thread N times (Default: 0)\n"); printf(" -l N Wake up the real time thread N times (Default: 0)\n");
printf(" -p PRIO Run the real time thread at priority PRIO\n"); printf(" -p PRIO Run the real time thread at priority PRIO\n");
printf(" -q PACKET_PRIO Send packets with PACKET_PRIO priority\n");
printf(" -r USEC Refresh the non real time main thread every USEC microseconds (Default: 50ms)\n"); printf(" -r USEC Refresh the non real time main thread every USEC microseconds (Default: 50ms)\n");
printf(" -t Enable timestamps\n"); printf(" -t Enable timestamps\n");
printf(" -v Verbose\n"); printf(" -v Verbose\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment