gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: statistics-cli: rename csv-


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: statistics-cli: rename csv-parameter, update manpage
Date: Sat, 16 Jun 2018 16:04:46 +0200

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 11a3acf1f statistics-cli: rename csv-parameter, update manpage
11a3acf1f is described below

commit 11a3acf1fe65a02b5b2d7d691b7d447a52200aba
Author: Julius Bünger <address@hidden>
AuthorDate: Sat Jun 16 16:02:17 2018 +0200

    statistics-cli: rename csv-parameter, update manpage
---
 doc/man/gnunet-statistics.1        |  3 +++
 src/statistics/gnunet-statistics.c | 12 ++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/doc/man/gnunet-statistics.1 b/doc/man/gnunet-statistics.1
index eed1c1de8..2aa889382 100644
--- a/doc/man/gnunet-statistics.1
+++ b/doc/man/gnunet-statistics.1
@@ -41,6 +41,9 @@ non\-persistent.
 Statistics are kept for various subsystems.  With this option, the
 output can be restricted to a particular subsystem only.
 .B
+.IP "\-S SEPARATOR,  \-\-csv-separator=SEPARATOR"
+Specify a separator for generating csv-output.
+.B
 .IP "\-t TESTBED_PATH,  \-\-subsystem=TESTBED_PATH"
 When running testbed, you can get statistics of all peers with specefying the
 folder containing the data of all testbed nodes like \fBgnunet\-statistics -t 
/tmp/testbedARtmQv\fP.
diff --git a/src/statistics/gnunet-statistics.c 
b/src/statistics/gnunet-statistics.c
index 81563a134..9093336e1 100644
--- a/src/statistics/gnunet-statistics.c
+++ b/src/statistics/gnunet-statistics.c
@@ -787,12 +787,6 @@ int
 main (int argc, char *const *argv)
 {
   struct GNUNET_GETOPT_CommandLineOption options[] = {
-    GNUNET_GETOPT_option_string ('d',
-                                 "csv-separator",
-                                 "CSV_SEPARATOR",
-                                 gettext_noop ("use as csv separator"),
-                                 &csv_separator),
-
     GNUNET_GETOPT_option_string ('n',
                                  "name",
                                  "NAME",
@@ -810,6 +804,12 @@ main (int argc, char *const *argv)
                                  gettext_noop ("limit output to the given 
SUBSYSTEM"),
                                  &subsystem),
 
+    GNUNET_GETOPT_option_string ('S',
+                                 "csv-separator",
+                                 "CSV_SEPARATOR",
+                                 gettext_noop ("use as csv separator"),
+                                 &csv_separator),
+
     GNUNET_GETOPT_option_filename ('t',
                                   "testbed",
                                   "TESTBED",

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]