From 6d638922e17162c4907dc1e049eecee8a6449ecd Mon Sep 17 00:00:00 2001 From: Jonas Häggqvist Date: Fri, 27 Feb 2009 20:00:45 +0000 Subject: 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 --- tools/genlang | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools/genlang') 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; -- cgit v1.2.3