[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] SVN Commit r639 - branches/exp/GT
Author: thomas
Date: 2008-06-16 07:19:45 +0200 (Mon, 16 Jun 2008)
New Revision: 639
Modified:
branches/exp/GT/Tools.pm
Log:
Corrected error message in resolve_object_alias.
Modified: branches/exp/GT/Tools.pm
===================================================================
--- branches/exp/GT/Tools.pm 2008-06-14 05:27:40 UTC (rev 638)
+++ branches/exp/GT/Tools.pm 2008-06-16 05:19:45 UTC (rev 639)
@@ -243,7 +243,8 @@
# Lookup the alias
my $def = GT::Conf::get("Aliases\::$alias");
- warn "Alias $alias not found.\n";
+ die "$0: error: Alias `$alias' not found in options file!"
+ . "\nKey looked for was \"Aliases::$alias\"\n" unless $def;
my $n = 1;
foreach my $arg (GT::ArgsTree::args_to_ascii(@param))