app.c: --huge-dir has not effect
`struct option` is set incorrectly for long_opt --huge-dir causing the value to be ignored. Change-Id: I5bb84f391e1ac551b2a91c43fe8da658ae54f115 Signed-off-by: Jeffry Molanus <jeffry.molanus@gmail.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/460581 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
8ec04f81c9
commit
9bba21c969
@ -120,7 +120,7 @@ static const struct option g_cmdline_options[] = {
|
||||
#define WAIT_FOR_RPC_OPT_IDX 258
|
||||
{"wait-for-rpc", no_argument, NULL, WAIT_FOR_RPC_OPT_IDX},
|
||||
#define HUGE_DIR_OPT_IDX 259
|
||||
{"huge-dir", no_argument, NULL, HUGE_DIR_OPT_IDX},
|
||||
{"huge-dir", required_argument, NULL, HUGE_DIR_OPT_IDX},
|
||||
#define NUM_TRACE_ENTRIES_OPT_IDX 260
|
||||
{"num-trace-entries", required_argument, NULL, NUM_TRACE_ENTRIES_OPT_IDX},
|
||||
#define MAX_REACTOR_DELAY_OPT_IDX 261
|
||||
|
Loading…
x
Reference in New Issue
Block a user