[CRIU] [PATCH 11/12] test/zdtm.sh: show help if unknown option is used

Kir Kolyshkin kir at openvz.org
Fri Sep 13 14:47:08 EDT 2013


Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 test/zdtm.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index a045522..f5fa063 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -698,6 +698,7 @@ while :; do
 		;;
 	  -*)
 		echo "Unrecognized option $1, aborting!" 1>&2
+		usage
 		exit 1
 		;;
 	  *)
-- 
1.8.1.4



More information about the CRIU mailing list