Changeset 4894

Show
Ignore:
Timestamp:
09/27/07 00:05:47 (7 years ago)
Author:
khali
Message:

Add a short help text to sensors-conf-convert.

Location:
lm-sensors/branches/lm-sensors-3.0.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/CHANGES

    r4893 r4894  
    66  sensord: Log the error code on failure 
    77  sensors: Fix spurious critical temperature alarm 
     8  sensors-conf-convert: Add a short help text 
    89 
    9103.0.0-rc1 (2007-09-25) 
  • lm-sensors/branches/lm-sensors-3.0.0/etc/sensors-conf-convert

    r4814 r4894  
    364364                ], 
    365365        ); 
     366 
     367        if (defined $ARGV[0] && ($ARGV[0] eq '-h' || $ARGV[0] eq '--help')) { 
     368                print "Convert sensors.conf from lm-sensors 2 format to lm-sensors 3 format\n", 
     369                      "Typical usage: sensors-conf-convert /etc/sensors.conf\n"; 
     370                exit 0; 
     371        } 
    366372} 
    367373