[Pm-utils] [PATCH 2/3] Add help to 00auto-quirk

Victor Lowther victor.lowther at gmail.com
Wed Sep 10 04:40:42 PDT 2008


Also fix a silly typo
---
 pm/sleep.d/00auto-quirk |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/pm/sleep.d/00auto-quirk b/pm/sleep.d/00auto-quirk
index 3514869..66440ac 100755
--- a/pm/sleep.d/00auto-quirk
+++ b/pm/sleep.d/00auto-quirk
@@ -19,8 +19,17 @@ mabye_add_quirks()
 	done
 }
 
+help()
+{
+	echo
+	echo "Auto quirk handler option:"
+	echo
+	echo "--auto-quirks"
+}
+
 case $1 in
 	suspend|hibernate) mabye_add_quirks ;;
-	*) exit $NA
+	help) help ;;
+	*) exit $NA ;;
 esac
 
-- 
1.5.6.5



More information about the Pm-utils mailing list