From 73352262745ad9a4d167e1a95c6fceccec9df058 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 3 Apr 2002 07:10:42 +0000 Subject: [PATCH] Add more documentation checking --- scripts/check_driver | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/scripts/check_driver b/scripts/check_driver index 85c6ff54..78c8e33b 100755 --- a/scripts/check_driver +++ b/scripts/check_driver @@ -311,6 +311,26 @@ if grep "^Driver: ${basedriver}.o$" $driver &>/dev/null;then else echo "E: documentation: no Devices:" fi + if grep "^Author:" $driver &>/dev/null;then + echo "has author documentation" + else + echo "E: documentation: no Author:" + fi + if grep "^Status:" $driver &>/dev/null;then + echo "has status documentation" + else + echo "E: documentation: no Status:" + fi + if grep "^Updated:" $driver &>/dev/null;then + echo "has updated documentation" + else + echo "E: documentation: no Updated:" + fi + if grep "^Description:" $driver &>/dev/null;then + echo "has description documentation" + else + echo "E: documentation: no Description:" + fi else echo "E: not documented in source" fi -- 2.26.2