Code

collectd-flush: Include version and author information in usage output.
authorSebastian Harl <sh@tokkee.org>
Sat, 7 Aug 2010 07:51:08 +0000 (09:51 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 7 Aug 2010 07:51:08 +0000 (09:51 +0200)
Just like the other tools.

src/collectd-flush.c

index 3869991431b96a52d9a075e291fd718f18237935..da81bf456548122820ccef98931c55746c29e578 100644 (file)
@@ -114,6 +114,10 @@ static void exit_usage (const char *name, int status) {
 
       "Flushes all CPU wait RRD values of the first CPU of the local host.\n"
       "I.e., writes all pending RRD updates of that data-source to disk.\n"
+
+      "\n"PACKAGE" "VERSION", http://collectd.org/\n"
+      "by Florian octo Forster <octo@verplant.org>\n"
+      "for contributions see `AUTHORS'\n"
       , name);
   exit (status);
 }