pingserver: add --quiet option
Change-Id: I7e61383e587044fd65a50e4dee58a020d3b292ad
Refs: #4673
diff --git a/tools/ping/server/ndn-ping-server.cpp b/tools/ping/server/ndn-ping-server.cpp
index a51519c..28c6871 100644
--- a/tools/ping/server/ndn-ping-server.cpp
+++ b/tools/ping/server/ndn-ping-server.cpp
@@ -111,7 +111,10 @@
"maximum number of pings to be satisfied (0=infinite)")
("size,s", po::value(&payloadSize)->default_value(payloadSize),
"size of response payload")
- ("timestamp,t", po::bool_switch(&options.wantTimestamp), "log timestamp with responses")
+ ("timestamp,t", po::bool_switch(&options.wantTimestamp),
+ "prepend a timestamp to each log message")
+ ("quiet,q", po::bool_switch(&options.wantQuiet),
+ "do not print a log message each time a ping packet is received")
("version,V", "print program version and exit")
;