Bug 9739: (follow-up) improve help text a bit
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 29 Sep 2013 11:11:14 +0000 (13:11 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 20 Oct 2013 18:57:19 +0000 (18:57 +0000)
Changes only strings in the script: the help text and the
success message for updated serial issues.

Thx to Jared for proof reading!

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
misc/cronjobs/serialsUpdate.pl

index 2b3c98d..07d418a 100755 (executable)
@@ -39,7 +39,7 @@ use Pod::Usage;
 
 =head1 NAME
 
-serialsUpdate.pl - change status of serials that are late
+serialsUpdate.pl - change status of serial issues that are late
 
 =head1 SYNOPSIS
 
@@ -49,10 +49,10 @@ serialsUpdate.pl [ -h | -m ][ -v ] -c ][ --note "you are late" ][ --no-note ]
    --h --help -?   Brief help message
    --man           Full documentation
    --verbose -v    Verbose mode
-   -c              Confirm : without this option, the script will report the concerned serials
-                   without modifying database
-   --note          Note set to concerned serials, by default "Automatically set to late"
-   --no-note       Do not set a note one concerned serials
+   -c              Confirm: without this option, the script will report on affected serial
+                   issues without modifying database
+   --note          Note set on affected serial issues, by default "Automatically set to late"
+   --no-note       Do not set a note on affected serial issues
 
 =cut
 
@@ -129,7 +129,7 @@ while ( my $issue = $sth->fetchrow_hashref ) {
                     $issue->{planneddate}, $issue->{publisheddate},
                     3, $note );
                 $verbose
-                  and print "Serial id=" . $issue->{serialid} . " update\n";
+                  and print "Serial issue with id=" . $issue->{serialid} . " updated\n";
             }
         }
         else {