summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2015-06-17 05:51:36 +0000
committerNorbert Preining <preining@logic.at>2015-06-17 05:51:36 +0000
commitf2e17354b31fe3ff02f366c2488f488fa3424700 (patch)
tree5e7bcf2bd4e7ca537eb4635b093893af190c03a8 /Master/texmf-dist/scripts
parent1c0c0262b1b16e484501b2d17e7c62044a40a586 (diff)
fmtutil: clearer warning on multiple defined formats
git-svn-id: svn://tug.org/texlive/trunk@37583 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/fmtutil.pl9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl
index e0c29ab0ae0..35ed5b710b4 100755
--- a/Master/texmf-dist/scripts/texlive/fmtutil.pl
+++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl
@@ -716,9 +716,12 @@ sub callback_enable_disable_format {
if ($alldata->{'merged'}{$fmt}) {
my @engs = keys %{$alldata->{'merged'}{$fmt}};
if (($#engs > 0) || ($#engs == -1)) {
- print_warning("More engines given for format $fmt.\n");
- print_warning("Possible engines: @engs\n");
- print_warning("Please select one by passing in $fmt/ENGINE\n");
+ print_warning("Selected format $fmt not uniquely defined,\n");
+ print_warning("possible format/engines combinations:\n");
+ for my $e (@engs) {
+ print_warning(" $fmt/$e (currently " . $alldata->{'merged'}{$fmt}{$e}{'status'} . ")\n");
+ }
+ print_warning("Please select one by fully specifying $fmt/ENGINE\n");
print_warning("No changes done.\n");
return 0;
} else {