aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2020-11-12 16:44:41 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2020-11-13 16:39:08 +0200
commitc62b514b6df1f1ebc460abe9777e253dc8a5623c (patch)
tree3de3d9b1a6d5a96432d02d790eafe2840a5fe533 /example
parentac88db114d8c83626fce36d1d57aedc11dc12547 (diff)
example: cls: fix usage print
Fix help text for '--time' option and add missing verbose mode option. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'example')
-rw-r--r--example/classifier/odp_classifier.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index cdc04aea1..3cdd116fc 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -1172,11 +1172,12 @@ static void usage(void)
" !0: Packet ICMP mode. Received packets will be sent back\n"
" default: Packet Drop mode\n"
"\n"
- " -t, --timeout <sec> !0: Time for which the classifier will be run in seconds\n"
+ " -t, --time <sec> !0: Time for which the classifier will be run in seconds\n"
" 0: Runs in infinite loop\n"
" default: Runs in infinite loop\n"
"\n"
" -P, --promisc_mode Enable promiscuous mode.\n"
+ " -v, --verbose Verbose output.\n"
" -h, --help Display help and exit.\n"
"\n");
}