scripts/autotest: print short info for setup.sh cleanup and status

Print shorter output about unsupported option instead of
printing full "usage" text.

Change-Id: I92a98b0bdf0b2ed9ac56da644f24777f76e7df29
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/426471
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: Seth Howell <seth.howell5141@gmail.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Karol Latecki 2018-09-24 10:11:47 +02:00 committed by Jim Harris
parent 7d030ef7fc
commit c7917f2252

View File

@ -592,6 +592,10 @@ else
configure_freebsd
elif [ "$mode" == "reset" ]; then
reset_freebsd
elif [ "$mode" == "cleanup" ]; then
echo "setup.sh cleanup function not yet supported on $(uname)"
elif [ "$mode" == "status" ]; then
echo "setup.sh status function not yet supported on $(uname)"
elif [ "$mode" == "help" ]; then
usage $0
else