summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@freedesktop.org>2011-05-19 11:29:57 +0200
committerEgbert Eich <eich@freedesktop.org>2013-01-04 05:50:58 -0500
commit76f2c5b2a744587a9e97b622ab359d6fd7689604 (patch)
treef96b8df4ce8acab9ddcc4987d6248d9aeb67471a
parent58349f9efc204f5843cfeccc25fbc51f1f5029ae (diff)
Usage: In usage message print preprocessor that's actually chosen.
The CPP macro may contain a list of preprocessors to chose from. In the usage message describing the -cpp command line option print the preprocessor that would actually be chosen. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xrdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdb.c b/xrdb.c
index 8513f8a..74ac03b 100644
--- a/xrdb.c
+++ b/xrdb.c
@@ -743,7 +743,7 @@ Syntax (void)
" -Dname[=value], -Uname, -Idirectory passed to preprocessor\n"
"\n"
"A - or no input filename represents stdin.\n",
- ProgramName, CPP, BACKUP_SUFFIX);
+ ProgramName, cpp_program ? cpp_program : "", BACKUP_SUFFIX);
exit (1);
}