aboutsummaryrefslogtreecommitdiff
path: root/src/namecache
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-03-15 21:03:50 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-03-15 21:03:50 +0100
commitfef8c5c79d628ac0823fdae238fd0b70a1f1eb94 (patch)
tree4e05a8fc5f3254fbe2b3325a7c6f6f61f892b66a /src/namecache
parente6b3fec9e4a573e1f0c594a3c2f345357c0c12b8 (diff)
downloadgnunet-fef8c5c79d628ac0823fdae238fd0b70a1f1eb94.tar.gz
gnunet-fef8c5c79d628ac0823fdae238fd0b70a1f1eb94.zip
porting.
Diffstat (limited to 'src/namecache')
-rw-r--r--src/namecache/gnunet-namecache.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/namecache/gnunet-namecache.c b/src/namecache/gnunet-namecache.c
index 490197b1e..2410c9b3c 100644
--- a/src/namecache/gnunet-namecache.c
+++ b/src/namecache/gnunet-namecache.c
@@ -225,13 +225,19 @@ run (void *cls, char *const *args, const char *cfgfile,
225int 225int
226main (int argc, char *const *argv) 226main (int argc, char *const *argv)
227{ 227{
228 static const struct GNUNET_GETOPT_CommandLineOption options[] = { 228 struct GNUNET_GETOPT_CommandLineOption options[] = {
229 {'n', "name", "NAME", 229 GNUNET_GETOPT_OPTION_STRING ('n',
230 gettext_noop ("name of the record to add/delete/display"), 1, 230 "name",
231 &GNUNET_GETOPT_set_string, &name}, 231 "NAME",
232 {'z', "zone", "PKEY", 232 gettext_noop ("name of the record to add/delete/display"),
233 gettext_noop ("spezifies the public key of the zone to look in"), 1, 233 &name),
234 &GNUNET_GETOPT_set_string, &pkey}, 234
235 GNUNET_GETOPT_OPTION_STRING ('z',
236 "zone",
237 "PKEY",
238 gettext_noop ("spezifies the public key of the zone to look in"),
239 &pkey),
240
235 GNUNET_GETOPT_OPTION_END 241 GNUNET_GETOPT_OPTION_END
236 }; 242 };
237 243