summaryrefslogtreecommitdiffstats
path: root/tools/genlang
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2009-02-27 20:00:45 +0000
committerJonas Häggqvist <rasher@rasher.dk>2009-02-27 20:00:45 +0000
commit6d638922e17162c4907dc1e049eecee8a6449ecd (patch)
treec4788e0c58ba81b9aed5cee3ddae6a4c92e84883 /tools/genlang
parent1ab0a50bc1df00602ac66ebbc35b9efc0fdf36a2 (diff)
downloadrockbox-6d638922e17162c4907dc1e049eecee8a6449ecd.tar.gz
rockbox-6d638922e17162c4907dc1e049eecee8a6449ecd.zip
Make genlang output errors on STDERR. FS#9668 by Tomer Shalev.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20130 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/genlang')
-rwxr-xr-xtools/genlang10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/genlang b/tools/genlang
index 21cef9966b..9f9e904312 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -89,29 +89,29 @@ my $voiceout = $o;
my $check = ($binary?1:0) + ($prefix?1:0) + ($update?1:0) + ($voiceout?1:0) + ($sortfile?1:0);
if($check > 1) {
- print "Please use only one of -p, -u, -o, -b and -s\n";
+ print STDERR "Please use only one of -p, -u, -o, -b and -s\n";
exit;
}
if(!$check) {
- print "Please use at least one of -p, -u, -o, -b and -s\n";
+ print STDERR "Please use at least one of -p, -u, -o, -b and -s\n";
exit;
}
if(($binary || $update || $voiceout || $sortfile) && !$english) {
- print "Please use -e too when you use -b, -o, -u or -s\n";
+ print STDERR "Please use -e too when you use -b, -o, -u or -s\n";
exit;
}
my $target_id = $i;
if($binary && !$target_id) {
- print "Please specify a target id number (with -i)!\n";
+ print STDERR "Please specify a target id number (with -i)!\n";
exit;
}
my $target = $t;
if(!$target && !$update && !$sortfile) {
- print "Please specify a target (with -t)!\n";
+ print STDERR "Please specify a target (with -t)!\n";
exit;
}
my $verbose=$v;