gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 02/12: RECLAIM: improve help


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/12: RECLAIM: improve help
Date: Sun, 14 Apr 2019 10:02:01 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 947b84dcdee19d6a4b1fcad10618a2b4f505b3b9
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Apr 11 21:21:06 2019 +0200

    RECLAIM: improve help
---
 src/Makefile.am              | 14 ++++++--------
 src/reclaim/Makefile.am      | 24 ++++++++++++------------
 src/reclaim/gnunet-reclaim.c | 30 +++++++++++++++---------------
 3 files changed, 33 insertions(+), 35 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index c1c708aa6..b16792e15 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,19 +11,17 @@ endif
 
 if HAVE_EXPERIMENTAL
  EXP_DIR = \
-  rps
+  rps \
+  credential \
+  reclaim-attribute \
+  reclaim
 if HAVE_ABE
-if HAVE_JSON
  EXP_DIR += \
-    abe \
-    credential \
-    reclaim-attribute \
-    reclaim
-endif
+  abe \
 endif
 if HAVE_JSON
  EXP_DIR += \
-    auction
+  auction
 endif
 endif
 
diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am
index bea8cd38e..210759fce 100644
--- a/src/reclaim/Makefile.am
+++ b/src/reclaim/Makefile.am
@@ -99,7 +99,7 @@ libgnunet_plugin_reclaim_sqlite_la_LIBADD = \
   libgnunetreclaim.la  \
   $(top_builddir)/src/sq/libgnunetsq.la \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
-       $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
+  $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
   $(LTLIBINTL)
 libgnunet_plugin_reclaim_sqlite_la_LDFLAGS = \
@@ -126,26 +126,26 @@ libgnunetreclaim_la_SOURCES = \
  reclaim.h
 libgnunetreclaim_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
-       $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
-       $(GN_LIBINTL) $(XLIB)
+  $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
+  $(GN_LIBINTL) $(XLIB)
 libgnunetreclaim_la_LDFLAGS = \
-       $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
-       -version-info 0:0:0
+  $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
+  -version-info 0:0:0
 
 gnunet_reclaim_SOURCES = \
  gnunet-reclaim.c
 gnunet_reclaim_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
-       $(top_builddir)/src/namestore/libgnunetnamestore.la \
-       libgnunetreclaim.la \
-       $(top_builddir)/src/identity/libgnunetidentity.la \
-       $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
+  $(top_builddir)/src/namestore/libgnunetnamestore.la \
+  libgnunetreclaim.la \
+  $(top_builddir)/src/identity/libgnunetidentity.la \
+  $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
   $(GN_LIBINTL)
 
 check_SCRIPTS = \
-       test_reclaim_attribute.sh \
-       test_reclaim_issue.sh \
-       test_reclaim_consume.sh \
+  test_reclaim_attribute.sh \
+  test_reclaim_issue.sh \
+  test_reclaim_consume.sh \
   test_reclaim_revoke.sh
 
 if ENABLE_TEST_RUN
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c
index b10586feb..df6ebc66f 100644
--- a/src/reclaim/gnunet-reclaim.c
+++ b/src/reclaim/gnunet-reclaim.c
@@ -505,52 +505,52 @@ main(int argc, char *const argv[])
 
     GNUNET_GETOPT_option_string ('a',
                                  "add",
-                                 NULL,
-                                 gettext_noop ("Add attribute"),
+                                 "NAME",
+                                 gettext_noop ("Add an attribute NAME"),
                                  &attr_name),
 
     GNUNET_GETOPT_option_string ('V',
                                  "value",
-                                 NULL,
-                                 gettext_noop ("Attribute value"),
+                                 "VALUE",
+                                 gettext_noop ("The attribute VALUE"),
                                  &attr_value),
     GNUNET_GETOPT_option_string ('e',
                                  "ego",
-                                 NULL,
-                                 gettext_noop ("Ego"),
+                                 "EGO",
+                                 gettext_noop ("The EGO to use"),
                                  &ego_name),
     GNUNET_GETOPT_option_string ('r',
                                  "rp",
-                                 NULL,
-                                 gettext_noop ("Audience (relying party)"),
+                                 "RP",
+                                 gettext_noop ("Specify the relying party for 
issue"),
                                  &rp),
     GNUNET_GETOPT_option_flag ('D',
                                "dump",
-                               gettext_noop ("List attributes for Ego"),
+                               gettext_noop ("List attributes for EGO"),
                                &list),
     GNUNET_GETOPT_option_string ('i',
                                  "issue",
-                                 NULL,
-                                 gettext_noop ("Issue a ticket"),
+                                 "A1,A2,...",
+                                 gettext_noop ("Issue a ticket for a set of 
attributes separated by comma"),
                                  &issue_attrs),
     GNUNET_GETOPT_option_string ('C',
                                  "consume",
-                                 NULL,
+                                 "TICKET",
                                  gettext_noop ("Consume a ticket"),
                                  &consume_ticket),
     GNUNET_GETOPT_option_string ('R',
                                  "revoke",
-                                 NULL,
+                                 "TICKET",
                                  gettext_noop ("Revoke a ticket"),
                                  &revoke_ticket),
     GNUNET_GETOPT_option_string ('t',
                                  "type",
-                                 NULL,
+                                 "TYPE",
                                  gettext_noop ("Type of attribute"),
                                  &type_str),
     GNUNET_GETOPT_option_relative_time ('E',
                                         "expiration",
-                                        NULL,
+                                        "INTERVAL",
                                         gettext_noop ("Expiration interval of 
the attribute"),
                                         &exp_interval),
 

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



reply via email to

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