diff --git a/CHANGES b/CHANGES index 2340b9bd..20894860 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/etc/sensors-conf-convert b/etc/sensors-conf-convert index 57cf77f6..d92ce67b 100755 --- a/etc/sensors-conf-convert +++ b/etc/sensors-conf-convert @@ -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) {