eal: use bare option string as name
authorGaetan Rivet <gaetan.rivet@6wind.com>
Thu, 20 Dec 2018 17:06:40 +0000 (18:06 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 15 Jan 2019 01:40:40 +0000 (02:40 +0100)
commit4c3bf26c197c644a582ed7f289b1cd8b0797c417
tree8e3393b531dc7ff7f17d318150dbb2869f6339d8
parent12d468a62bc19ca08ee9964dcb923f67f87fba7d
eal: use bare option string as name

Current options name can be passed with arbitrary format.
Force the use of "--" prefix and thus POSIX long options format.

This restricts the ability to introduce surprising options and will help
future additional checks.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/common/rte_option.c
lib/librte_telemetry/rte_telemetry.c