Jelajahi Sumber

Merge branch 'master' of https://github.com/paultrost/Disk-SMART-Perl

Paul Trost 11 tahun lalu
induk
melakukan
7af7061b5e
2 mengubah file dengan 5 tambahan dan 2 penghapusan
  1. 3 0
      Changes
  2. 2 2
      lib/Disk/SMART.pm

+ 3 - 0
Changes

@@ -1,5 +1,8 @@
 Revision history for Disk-SMART
 Revision history for Disk-SMART
 
 
+0.11	2014
+	Updated POD for update_data() and run_short_test()
+
 0.10	2014-10-18
 0.10	2014-10-18
 	Updated regex to get disk temperature to look for two different lines that could contain temp
 	Updated regex to get disk temperature to look for two different lines that could contain temp
 	Corrected get_disk_attributes() to return hash correctly on Perl < 5.14
 	Corrected get_disk_attributes() to return hash correctly on Perl < 5.14

+ 2 - 2
lib/Disk/SMART.pm

@@ -150,7 +150,7 @@ sub get_disk_temp {
 }
 }
 
 
 
 
-=head2 B<update_data>
+=head2 B<update_data(DEVICE)>
 
 
 Updates the SMART output and attributes of a device. Returns undef.
 Updates the SMART output and attributes of a device. Returns undef.
 
 
@@ -181,7 +181,7 @@ sub update_data {
     return 1;
     return 1;
 }
 }
 
 
-=head2 B<run_short_test>
+=head2 B<run_short_test(DEVICE)>
 
 
 Runs the SMART short self test and returns the result.
 Runs the SMART short self test and returns the result.