summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/write-csharp.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-08-19 00:01:16 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:00 +0200
commit37cab0b1c83cd772b55ce34a2871645d3ce75a9f (patch)
tree5d3d3314450259bae5a6a8d5d2090259c73e3dcb /gettext-tools/src/write-csharp.c
parent7117ce746fe02dde115d5ba2906c82f91854b902 (diff)
downloadexternal_gettext-37cab0b1c83cd772b55ce34a2871645d3ce75a9f.zip
external_gettext-37cab0b1c83cd772b55ce34a2871645d3ce75a9f.tar.gz
external_gettext-37cab0b1c83cd772b55ce34a2871645d3ce75a9f.tar.bz2
Don't recommend to use --verbose if it is already in use.
Diffstat (limited to 'gettext-tools/src/write-csharp.c')
-rw-r--r--gettext-tools/src/write-csharp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gettext-tools/src/write-csharp.c b/gettext-tools/src/write-csharp.c
index a45c52b..8664b52 100644
--- a/gettext-tools/src/write-csharp.c
+++ b/gettext-tools/src/write-csharp.c
@@ -737,7 +737,10 @@ but the C# .dll format doesn't support contexts\n")));
if (compile_csharp_class (csharp_sources, 1, libdirs, 1, libraries, 1,
output_file, true, false, verbose))
{
- error (0, 0, _("compilation of C# class failed, please try --verbose"));
+ if (!verbose)
+ error (0, 0, _("compilation of C# class failed, please try --verbose"));
+ else
+ error (0, 0, _("compilation of C# class failed"));
goto quit3;
}