aboutsummaryrefslogtreecommitdiff
path: root/src/xz/message.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-07-02 14:30:38 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-07-02 14:30:38 +0300
commit0a289c01ac821ea9c4250aa906b0ae3cfa953633 (patch)
tree94164466eeac744d314c93c4d2489f0adfc636c0 /src/xz/message.c
parentAvoid visibility related compiler warnings on Windows. (diff)
downloadxz-0a289c01ac821ea9c4250aa906b0ae3cfa953633.tar.xz
Define PACKAGE_HOMEPAGE in configure.ac and use it in
xz and xzdec. Use also PACKAGE_NAME instead of hardcoding "XZ Utils".
Diffstat (limited to 'src/xz/message.c')
-rw-r--r--src/xz/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/message.c b/src/xz/message.c
index 8fa06e15..19aff9bd 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -1015,7 +1015,7 @@ message_version(void)
{
// It is possible that liblzma version is different than the command
// line tool version, so print both.
- printf("xz " LZMA_VERSION_STRING "\n");
+ printf("xz (" PACKAGE_NAME ") " LZMA_VERSION_STRING "\n");
printf("liblzma %s\n", lzma_version_string());
my_exit(E_SUCCESS);
}
@@ -1166,7 +1166,7 @@ message_help(bool long_help)
printf(_("Report bugs to <%s> (in English or Finnish).\n"),
PACKAGE_BUGREPORT);
- printf(_("XZ Utils home page: <http://tukaani.org/xz/>\n"));
+ printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_HOMEPAGE);
my_exit(E_SUCCESS);
}