[PATCH i-g-t v2 6/6] tests/drm_lib.sh: add a "--help-description" option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Thomas Wood <thomas.wood@xxxxxxxxx>
---
 tests/drm_lib.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh
index 6a8a310..c50664c 100755
--- a/tests/drm_lib.sh
+++ b/tests/drm_lib.sh
@@ -12,11 +12,16 @@ for arg in $@ ; do
 		--debug)
 			IGT_LOG_LEVEL=debug
 			;;
+		--help-description)
+			echo $IGT_TEST_DESCRIPTION
+			exit 0
+			;;
 		--help)
 			echo "Usage: `basename $0` [OPTIONS]"
 			echo "  --list-subtests"
 			echo "  --run-subtest <pattern>"
 			echo "  --debug"
+			echo "  --help-description"
 			echo "  --help"
 			exit 0
 			;;
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux