[dpdk-dev] [PATCH v2 1/2] eal: sort and align options lists

2015-02-03 Thread Thomas Monjalon
2015-02-03 07:26, David Marchand: > Two little comments. > > On Mon, Feb 2, 2015 at 6:44 PM, Thomas Monjalon > wrote: > > @@ -578,37 +579,36 @@ eal_check_common_options(struct internal_config > > *internal_cfg) > > void > > eal_common_usage(void) > > { > > - printf("-c COREMASK -n NUM

[dpdk-dev] [PATCH v2 1/2] eal: sort and align options lists

2015-02-03 Thread David Marchand
Two little comments. On Mon, Feb 2, 2015 at 6:44 PM, Thomas Monjalon wrote: > @@ -578,37 +579,36 @@ eal_check_common_options(struct internal_config > *internal_cfg) > void > eal_common_usage(void) > { > - printf("-c COREMASK -n NUM [-m NB] [-r NUM] [-b > ]" > -

[dpdk-dev] [PATCH v2 1/2] eal: sort and align options lists

2015-02-02 Thread Thomas Monjalon
Options listing in usage help was a mess. The main usage line is fixed and shorter. The options in usage output are logically sorted (cpu/mem/dev/proc), aligned and lightly reworded. The options in declarations are alphabetically sorted. Code in swith statement is not moved. Signed-off-by: Thomas