app: align usage printing
Change-Id: Ie810c36a03801cfb7d3bd63860492a7ab814560d Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5245 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot
This commit is contained in:
parent
e4e218d898
commit
7cf29902ba
@ -577,10 +577,10 @@ usage(void (*app_usage)(void))
|
|||||||
printf(" -v, --version print SPDK version\n");
|
printf(" -v, --version print SPDK version\n");
|
||||||
printf(" -W, --pci-whitelist <bdf>\n");
|
printf(" -W, --pci-whitelist <bdf>\n");
|
||||||
printf(" pci addr to whitelist (-B and -W cannot be used at the same time)\n");
|
printf(" pci addr to whitelist (-B and -W cannot be used at the same time)\n");
|
||||||
printf(" --huge-dir <path> use a specific hugetlbfs mount to reserve memory from\n");
|
printf(" --huge-dir <path> use a specific hugetlbfs mount to reserve memory from\n");
|
||||||
printf(" --iova-mode <pa/va> set IOVA mode ('pa' for IOVA_PA and 'va' for IOVA_VA)\n");
|
printf(" --iova-mode <pa/va> set IOVA mode ('pa' for IOVA_PA and 'va' for IOVA_VA)\n");
|
||||||
printf(" --base-virtaddr <addr> the base virtual address for DPDK (default: 0x200000000000)\n");
|
printf(" --base-virtaddr <addr> the base virtual address for DPDK (default: 0x200000000000)\n");
|
||||||
printf(" --num-trace-entries <num> number of trace entries for each core, must be power of 2, setting 0 to disable trace (default %d)\n",
|
printf(" --num-trace-entries <num> number of trace entries for each core, must be power of 2, setting 0 to disable trace (default %d)\n",
|
||||||
SPDK_APP_DEFAULT_NUM_TRACE_ENTRIES);
|
SPDK_APP_DEFAULT_NUM_TRACE_ENTRIES);
|
||||||
spdk_log_usage(stdout, "-L");
|
spdk_log_usage(stdout, "-L");
|
||||||
spdk_trace_mask_usage(stdout, "-e");
|
spdk_trace_mask_usage(stdout, "-e");
|
||||||
|
Loading…
Reference in New Issue
Block a user