Explorar el Código

Updated POD for update_data() and run_short_test()

Paul Trost hace 11 años
padre
commit
042e79f8a9
Se han modificado 2 ficheros con 5 adiciones y 2 borrados
  1. 3 0
      Changes
  2. 2 2
      lib/Disk/SMART.pm

+ 3 - 0
Changes

@@ -1,5 +1,8 @@
 Revision history for Disk-SMART
 
+0.11	2014
+	Updated POD for update_data() and run_short_test()
+
 0.10	2014-10-18
 	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

+ 2 - 2
lib/Disk/SMART.pm

@@ -147,7 +147,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.
 
@@ -178,7 +178,7 @@ sub update_data {
     return 1;
 }
 
-=head2 B<run_short_test>
+=head2 B<run_short_test(DEVICE)>
 
 Runs the SMART short self test and returns the result.