Spdk/app
Jim Harris 933868afe5 spdk_top: fix -h option handling
-H is not specified to getopt, so there's no reason
to have a case statement for it.

We should also return 0 when -h is specified. spdk_top
-h should not return error status to the shell since
this is valid usage.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ifa24c93661648c61de6925bea4b4071cd53013d4
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6327
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Mellanox Build Bot
2021-02-10 08:30:40 +00:00
..
iscsi_tgt build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
iscsi_top build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvmf_tgt build: add ufc to SYS_LIBS in spdk.common.mk 2020-12-28 13:32:06 +00:00
spdk_dd build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
spdk_lspci mk: Fix mlx5_dv linkage 2020-12-28 13:21:36 +00:00
spdk_tgt build: add ufc to SYS_LIBS in spdk.common.mk 2020-12-28 13:32:06 +00:00
spdk_top spdk_top: fix -h option handling 2021-02-10 08:30:40 +00:00
trace mk: don't link env if not needed 2020-09-07 09:28:39 +00:00
trace_record lib/trace: add trace_record tool 2019-01-30 06:36:25 +00:00
vhost build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
Makefile spdk_dd: Initial patch for spdk_dd tool 2020-07-23 07:24:08 +00:00