projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into credentials
[oweals/gnunet.git]
/
src
/
namestore
/
gnunet-namestore.c
diff --git
a/src/namestore/gnunet-namestore.c
b/src/namestore/gnunet-namestore.c
index 2ce3741f8a1dd33e25be76b8bd2fd73f2181a84b..dcb9dd678d38fbb7bb17266cb050ba80fd9ade68 100644
(file)
--- a/
src/namestore/gnunet-namestore.c
+++ b/
src/namestore/gnunet-namestore.c
@@
-1132,45
+1132,45
@@
main (int argc,
struct GNUNET_GETOPT_CommandLineOption options[] = {
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_
OPTION_SET_ONE
('a',
+ GNUNET_GETOPT_
option_flag
('a',
"add",
gettext_noop ("add record"),
&add),
"add",
gettext_noop ("add record"),
&add),
- GNUNET_GETOPT_
OPTION_SET_ONE
('d',
+ GNUNET_GETOPT_
option_flag
('d',
"delete",
gettext_noop ("delete record"),
&del),
"delete",
gettext_noop ("delete record"),
&del),
- GNUNET_GETOPT_
OPTION_SET_ONE
('D',
+ GNUNET_GETOPT_
option_flag
('D',
"display",
gettext_noop ("display records"),
&list),
"display",
gettext_noop ("display records"),
&list),
- GNUNET_GETOPT_
OPTION_STRING
('e',
+ GNUNET_GETOPT_
option_string
('e',
"expiration",
"TIME",
gettext_noop ("expiration time for record to use (for adding only), \"never\" is possible"),
&expirationstring),
"expiration",
"TIME",
gettext_noop ("expiration time for record to use (for adding only), \"never\" is possible"),
&expirationstring),
- GNUNET_GETOPT_
OPTION_STRING
('i',
+ GNUNET_GETOPT_
option_string
('i',
"nick",
"NICKNAME",
gettext_noop ("set the desired nick name for the zone"),
&nickstring),
"nick",
"NICKNAME",
gettext_noop ("set the desired nick name for the zone"),
&nickstring),
- GNUNET_GETOPT_
OPTION_SET_ONE
('m',
+ GNUNET_GETOPT_
option_flag
('m',
"monitor",
gettext_noop ("monitor changes in the namestore"),
&monitor),
"monitor",
gettext_noop ("monitor changes in the namestore"),
&monitor),
- GNUNET_GETOPT_
OPTION_STRING
('n',
+ GNUNET_GETOPT_
option_string
('n',
"name",
"NAME",
gettext_noop ("name of the record to add/delete/display"),
&name),
"name",
"NAME",
gettext_noop ("name of the record to add/delete/display"),
&name),
- GNUNET_GETOPT_
OPTION_STRING
('r',
+ GNUNET_GETOPT_
option_string
('r',
"reverse",
"PKEY",
gettext_noop ("determine our name for the given PKEY"),
"reverse",
"PKEY",
gettext_noop ("determine our name for the given PKEY"),
@@
-1178,35
+1178,35
@@
main (int argc,
- GNUNET_GETOPT_
OPTION_STRING
('t',
+ GNUNET_GETOPT_
option_string
('t',
"type",
"TYPE",
gettext_noop ("type of the record to add/delete/display"),
&typestring),
"type",
"TYPE",
gettext_noop ("type of the record to add/delete/display"),
&typestring),
- GNUNET_GETOPT_
OPTION_STRING
('u',
+ GNUNET_GETOPT_
option_string
('u',
"uri",
"URI",
gettext_noop ("URI to import into our zone"),
&uri),
"uri",
"URI",
gettext_noop ("URI to import into our zone"),
&uri),
- GNUNET_GETOPT_
OPTION_STRING
('V',
+ GNUNET_GETOPT_
option_string
('V',
"value",
"VALUE",
gettext_noop ("value of the record to add/delete"),
&value),
"value",
"VALUE",
gettext_noop ("value of the record to add/delete"),
&value),
- GNUNET_GETOPT_
OPTION_SET_ONE
('p',
+ GNUNET_GETOPT_
option_flag
('p',
"public",
gettext_noop ("create or list public record"),
&is_public),
"public",
gettext_noop ("create or list public record"),
&is_public),
- GNUNET_GETOPT_
OPTION_SET_ONE
('s',
+ GNUNET_GETOPT_
option_flag
('s',
"shadow",
gettext_noop ("create shadow record (only valid if all other records of the same type have expired"),
&is_shadow),
"shadow",
gettext_noop ("create shadow record (only valid if all other records of the same type have expired"),
&is_shadow),
- GNUNET_GETOPT_
OPTION_STRING
('z',
+ GNUNET_GETOPT_
option_string
('z',
"zone",
"EGO",
gettext_noop ("name of the ego controlling the zone"),
"zone",
"EGO",
gettext_noop ("name of the ego controlling the zone"),