app/regex: fix usage text
authorThomas Monjalon <thomas@monjalon.net>
Mon, 5 Apr 2021 19:33:24 +0000 (21:33 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 9 Apr 2021 12:31:41 +0000 (14:31 +0200)
commite0512833d4acc6d037fa0ce8d453584618b98019
treedb14461a7d47078bc4d338b8603449b60c0a2151
parent487cfc24370fdb7ea843aa510d6e6d2a7212dd23
app/regex: fix usage text

The usage syntax help includes the program name which was fake.
It is replaced with the real name from argv.

Fixes: de06137cb295 ("app/regex: add RegEx test application")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ori Kam <orika@nvidia.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: David Marchand <david.marchand@redhat.com>
app/test-regex/main.c