Bug 30069: (QA follow-up) Fix capitalization for edifact

Changes a few occurrences of edifact in the output messages
to EDIFACT.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-02-20 21:28:05 +00:00 committed by Tomas Cohen Arazi
parent 2b08584255
commit ee91389edd
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -116,7 +116,7 @@ Usage: $0 [-h|--help] [--confirm] [--sessions] [--sessdays DAYS] [-v|--verbose]
--jobs-type TYPES What type of background job to purge. Defaults to "update_elastic_index" if omitted
Specifying "all" will purge all types. Repeatable.
--reports DAYS Purge reports data saved more than DAYS days ago. The data is created by running runreport.pl with the --store-results option.
--edifact-messages DAYS Purge entries from edifact_messages table older than DAYS days.
--edifact-messages DAYS Purge entries from the edifact_messages table older than DAYS days.
Defaults to 365 days if no days specified.
USAGE
exit $_[0];
@ -734,12 +734,12 @@ if ($reports) {
}
if($edifact_msg_days) {
print "Purging edifact messages older than $edifact_msg_days days.\n" if $verbose;
print "Purging EDIFACT messages older than $edifact_msg_days days.\n" if $verbose;
my $count = PurgeEdifactMessages($edifact_msg_days, $confirm);
if ( $verbose ) {
say $confirm
? sprintf( "Done with purging %d edifact messages", $count )
: sprintf( "%d edifact messages would have been removed", $count );
? sprintf( "Done with purging %d EDIFACT messages", $count )
: sprintf( "%d EDIFACT messages would have been removed", $count );
}
}