#856120 - sensors - Inconsistency between man page and help
This commit is contained in:
parent
4834b6aee2
commit
2a0ab68253
33
0002-sensors-man-missing-switches.patch
Normal file
33
0002-sensors-man-missing-switches.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
diff -Naur lm_sensors-3.3.2.orig/prog/sensors/sensors.1 lm_sensors-3.3.2/prog/sensors/sensors.1
|
||||||
|
--- lm_sensors-3.3.2.orig/prog/sensors/sensors.1 2007-10-25 11:59:05.000000000 +0200
|
||||||
|
+++ lm_sensors-3.3.2/prog/sensors/sensors.1 2012-09-26 22:46:03.000000000 +0200
|
||||||
|
@@ -49,23 +49,23 @@
|
||||||
|
is used to generate bus statements suitable for the configuration file.
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
-.IP "-c config-file"
|
||||||
|
+.IP "-c, --config-file config-file"
|
||||||
|
Specify a configuration file. If no file is specified, the libsensors
|
||||||
|
default configuration file is used. Use `-c /dev/null' to temporarily
|
||||||
|
disable this default configuration file.
|
||||||
|
-.IP -h
|
||||||
|
+.IP "-h, --help"
|
||||||
|
Print a help text and exit.
|
||||||
|
-.IP -s
|
||||||
|
+.IP "-s, --set"
|
||||||
|
Evaluate all `set' statements in the configuration file and exit. You must
|
||||||
|
be `root' to do this. If this parameter is not specified, no `set' statement
|
||||||
|
is evaluated.
|
||||||
|
-.IP -A
|
||||||
|
+.IP "-A, --no-adapter"
|
||||||
|
Do not show the adapter for each chip.
|
||||||
|
.IP -u
|
||||||
|
Raw output. This mode is only meant for debugging.
|
||||||
|
-.IP -v
|
||||||
|
+.IP "-v, --version"
|
||||||
|
Print the program version and exit.
|
||||||
|
-.IP -f
|
||||||
|
+.IP "-f, --fahrenheit"
|
||||||
|
Print the temperatures in degrees Fahrenheit instead of Celsius.
|
||||||
|
.IP --bus-list
|
||||||
|
Generate bus statements suitable for using in sensors.conf. Such bus statements
|
@ -1,6 +1,6 @@
|
|||||||
Name: lm_sensors
|
Name: lm_sensors
|
||||||
Version: 3.3.2
|
Version: 3.3.2
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
URL: http://www.lm-sensors.org/
|
URL: http://www.lm-sensors.org/
|
||||||
Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.bz2
|
Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.bz2
|
||||||
Source1: lm_sensors.sysconfig
|
Source1: lm_sensors.sysconfig
|
||||||
@ -17,7 +17,7 @@ Requires(post): systemd-units
|
|||||||
BuildRequires: kernel-headers >= 2.2.16, bison, libsysfs-devel, flex, gawk
|
BuildRequires: kernel-headers >= 2.2.16, bison, libsysfs-devel, flex, gawk
|
||||||
BuildRequires: rrdtool-devel
|
BuildRequires: rrdtool-devel
|
||||||
Patch0: 0001-PCI-bus-is-always-required-even-if-it-might-be-missi.patch
|
Patch0: 0001-PCI-bus-is-always-required-even-if-it-might-be-missi.patch
|
||||||
|
Patch1: 0002-sensors-man-missing-switches.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The lm_sensors package includes a collection of modules for general SMBus
|
The lm_sensors package includes a collection of modules for general SMBus
|
||||||
@ -55,6 +55,7 @@ database, and warns of sensor alarms.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
mv prog/init/README prog/init/README.initscripts
|
mv prog/init/README prog/init/README.initscripts
|
||||||
chmod -x prog/init/fancontrol.init
|
chmod -x prog/init/fancontrol.init
|
||||||
@ -157,6 +158,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 26 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.2-5
|
||||||
|
- #856120 - sensors - Inconsistency between man page and help
|
||||||
|
|
||||||
* Mon Aug 27 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.2-4
|
* Mon Aug 27 2012 Jaromir Capik <jcapik@redhat.com> - 3.3.2-4
|
||||||
- Migration to new systemd scriptlet macros
|
- Migration to new systemd scriptlet macros
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user