Blame SOURCES/pm-utils-1.4.1-man-fix.patch

ef56e5
diff -up pm-utils-1.4.1/man/pm-action.8.orig pm-utils-1.4.1/man/pm-action.8
ef56e5
--- pm-utils-1.4.1/man/pm-action.8.orig	2010-07-04 16:54:58.000000000 +0200
ef56e5
+++ pm-utils-1.4.1/man/pm-action.8	2013-07-01 15:44:34.000000000 +0200
ef56e5
@@ -86,11 +86,21 @@ This option forces the video hardware to
ef56e5
 This option forces the video hardware to turn off the screen when suspending\&. Most video adapters seem to do this correctly, but some do not, which wastes lots of power\&. If your screen is still on after successfully suspending you may need to use this option\&.
ef56e5
 .RE
ef56e5
 .PP
ef56e5
+\fB\-\-quirk\-none\fR
ef56e5
+.RS 4
ef56e5
+This option disables quirks.
ef56e5
+.RE
ef56e5
+.PP
ef56e5
 \fB\-\-quirk\-radeon\-off\fR
ef56e5
 .RS 4
ef56e5
 This option forces Radeon hardware to turn off the display during suspend and turn it back on during resume\&. You only need to do this on some old ThinkPads of the \'30 series (T30, X31, R32,\&.\&.\&. ) with Radeon video hardware\&.
ef56e5
 .RE
ef56e5
 .PP
ef56e5
+\fB\-\-quirk\-reset\-brigthness\fR
ef56e5
+.RS 4
ef56e5
+This option resets display brightness during resume (i.e. sets the brightness to 0 and returns it to the previous value).
ef56e5
+.RE
ef56e5
+.PP
ef56e5
 \fB\-\-quirk\-s3\-bios\fR
ef56e5
 .RS 4
ef56e5
 This option calls the video BIOS during S3 resume\&. Unfortunately, it is not always allowed to call the video BIOS at this point, so sometimes adding this option can actually break resume on some systems\&.
ef56e5
diff -up pm-utils-1.4.1/man/pm-powersave.8.orig pm-utils-1.4.1/man/pm-powersave.8
ef56e5
--- pm-utils-1.4.1/man/pm-powersave.8.orig	2010-07-04 16:54:56.000000000 +0200
ef56e5
+++ pm-utils-1.4.1/man/pm-powersave.8	2013-07-01 16:11:12.939103092 +0200
ef56e5
@@ -22,7 +22,7 @@
ef56e5
 pm-powersave \- Put your computer into low power mode
ef56e5
 .SH "SYNOPSIS"
ef56e5
 .HP \w'\fBpm\-powersave\fR\ 'u
ef56e5
-\fBpm\-powersave\fR [{\fBtrue\fR\ |\ \fBfalse\fR}]
ef56e5
+\fBpm\-powersave\fR [{\fBtrue\fR\ |\ \fBfalse\fR}] [\fB\-\-help\fR]
ef56e5
 .SH "DESCRIPTION"
ef56e5
 .PP
ef56e5
 This manual page documents briefly the
ef56e5
@@ -43,6 +43,11 @@ Put the computer into low power mode to
ef56e5
 .RS 4
ef56e5
 Turn off low power mode\&.
ef56e5
 .RE
ef56e5
+.PP
ef56e5
+\fB\-\-help\fR
ef56e5
+.RS 4
ef56e5
+Show the help.
ef56e5
+.RE
ef56e5
 .SH "FILES"
ef56e5
 .PP
ef56e5
 /etc/pm/power\&.d/, /usr/lib/pm\-utils/power\&.d/
ef56e5
diff -up pm-utils-1.4.1/src/pm-action.in.orig pm-utils-1.4.1/src/pm-action.in
ef56e5
--- pm-utils-1.4.1/src/pm-action.in.orig	2010-07-04 16:42:51.000000000 +0200
ef56e5
+++ pm-utils-1.4.1/src/pm-action.in	2013-07-01 15:03:15.000000000 +0200
ef56e5
@@ -37,6 +37,8 @@ help()
ef56e5
 	echo "${0##*/} [options]"
ef56e5
 	echo
ef56e5
 	echo "Options can change how suspend or hibernate is done."
ef56e5
+	echo
ef56e5
+	echo "  --help"
ef56e5
 	run_hooks sleep help
ef56e5
 	sleep_module_help
ef56e5
 	exit 0