From c7917f2252fb23824cd9721b03108f20e2e2c8c3 Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Mon, 24 Sep 2018 10:11:47 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.gerrithub.io/426471 Chandler-Test-Pool: SPDK Automated Test System Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Pawel Wodkowski Reviewed-by: Seth Howell Reviewed-by: Ben Walker --- scripts/setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/setup.sh b/scripts/setup.sh index 1a702b465..36f2e4ec7 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -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