summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc67dcb)
raw | patch | inline | side by side (parent: fc67dcb)
author | Nathan Berkley <nberkley@tripadvisor.com> | |
Fri, 5 Jun 2015 20:46:46 +0000 (16:46 -0400) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 6 Jun 2015 19:19:05 +0000 (21:19 +0200) |
src/collectdctl.c | patch | blob | history | |
src/collectdmon.c | patch | blob | history | |
src/daemon/collectd.c | patch | blob | history |
diff --git a/src/collectdctl.c b/src/collectdctl.c
index 2329285371281e849e5bf82994111912201d2036..8357ce841838cad2f85238b5bbe3ba1758e1db43 100644 (file)
--- a/src/collectdctl.c
+++ b/src/collectdctl.c
"Hostname defaults to the local hostname if omitted (e.g., uptime/uptime).\n"
"No error is returned if the specified identifier does not exist.\n"
- "\n"PACKAGE" "VERSION", http://collectd.org/\n"
+ "\n"PACKAGE_NAME" "PACKAGE_VERSION", http://collectd.org/\n"
"by Florian octo Forster <octo@collectd.org>\n"
"for contributions see `AUTHORS'\n"
, name);
diff --git a/src/collectdmon.c b/src/collectdmon.c
index c3f95255a49ba58547c3619fe9b2b2830389ce5b..6c50cf12509084f4958958261734bbcd6172ed9f 100644 (file)
--- a/src/collectdmon.c
+++ b/src/collectdmon.c
"\nFor <collectd options> see collectd.conf(5).\n"
- "\n"PACKAGE" "VERSION", http://collectd.org/\n"
+ "\n"PACKAGE_NAME" "PACKAGE_VERSION", http://collectd.org/\n"
"by Florian octo Forster <octo@collectd.org>\n"
"for contributions see `AUTHORS'\n", name);
exit (0);
diff --git a/src/daemon/collectd.c b/src/daemon/collectd.c
index 1b9c3747a629fb6027460a3d1e88cb379c96ec4b..a708665dfa4df0ee451489999a6bc4f293604790 100644 (file)
--- a/src/daemon/collectd.c
+++ b/src/daemon/collectd.c
*/
static void exit_usage (int status)
{
- printf ("Usage: "PACKAGE" [OPTIONS]\n\n"
+ printf ("Usage: "PACKAGE_NAME" [OPTIONS]\n\n"
"Available options:\n"
" General:\n"
" PID file "PIDFILE"\n"
" Plugin directory "PLUGINDIR"\n"
" Data directory "PKGLOCALSTATEDIR"\n"
- "\n"PACKAGE" "VERSION", http://collectd.org/\n"
+ "\n"PACKAGE_NAME" "PACKAGE_VERSION", http://collectd.org/\n"
"by Florian octo Forster <octo@collectd.org>\n"
"for contributions see `AUTHORS'\n");
exit (status);