mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-31 13:10:30 +00:00
Add a short help text to sensors-conf-convert.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4894 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
4db0f60d9a
commit
1124e53305
2 files changed
+7
No files matched your search
@@ -5,6 +5,7 @@ SVN
|
||||
Makefile: Add sensors-conf-convert to make install
|
||||
sensord: Log the error code on failure
|
||||
sensors: Fix spurious critical temperature alarm
|
||||
sensors-conf-convert: Add a short help text
|
||||
|
||||
3.0.0-rc1 (2007-09-25)
|
||||
Initial release
|
||||
@@ -363,6 +363,12 @@ BEGIN
|
||||
qr/\bfan\d_(max|safe)\b/,
|
||||
],
|
||||
);
|
||||
|
||||
if (defined $ARGV[0] && ($ARGV[0] eq '-h' || $ARGV[0] eq '--help')) {
|
||||
print "Convert sensors.conf from lm-sensors 2 format to lm-sensors 3 format\n",
|
||||
"Typical usage: sensors-conf-convert /etc/sensors.conf\n";
|
||||
exit 0;
|
||||
}
|
||||
}
|
||||
|
||||
if ($. == 1) {
|
||||
|
||||
Reference in new issue
Block a user