diff options
-rw-r--r-- | doc/man/gnunet-namestore.1 | 3 | ||||
-rw-r--r-- | src/namestore/gnunet-namestore.c | 9 |
2 files changed, 0 insertions, 12 deletions
diff --git a/doc/man/gnunet-namestore.1 b/doc/man/gnunet-namestore.1 index c77eefb8d..daed19116 100644 --- a/doc/man/gnunet-namestore.1 +++ b/doc/man/gnunet-namestore.1 | |||
@@ -46,9 +46,6 @@ Label or name of the record to add/delete/display | |||
46 | .IP "\-p, \-\-public" | 46 | .IP "\-p, \-\-public" |
47 | Create a record that is public (shared with other users that know the label) | 47 | Create a record that is public (shared with other users that know the label) |
48 | .B | 48 | .B |
49 | .IP "\-P, \-\-pending" | ||
50 | Create a record that is pending approval (stored in the namestore but unavailable for resolution to anyone) | ||
51 | .B | ||
52 | .IP "\-r PKEY, \-\-reverse=PKEY" | 49 | .IP "\-r PKEY, \-\-reverse=PKEY" |
53 | Determine our GNS name for the given public key (reverse lookup of the PKEY) in the given zone. | 50 | Determine our GNS name for the given public key (reverse lookup of the PKEY) in the given zone. |
54 | .B | 51 | .B |
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index c2f5941e3..a08f20c38 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -110,11 +110,6 @@ static int is_public; | |||
110 | static int is_shadow; | 110 | static int is_shadow; |
111 | 111 | ||
112 | /** | 112 | /** |
113 | * Is record pending approval (#GNUNET_GNSRECORD_RF_PENDING) | ||
114 | */ | ||
115 | static int is_pending; | ||
116 | |||
117 | /** | ||
118 | * Queue entry for the 'del' operation. | 113 | * Queue entry for the 'del' operation. |
119 | */ | 114 | */ |
120 | static struct GNUNET_NAMESTORE_QueueEntry *del_qe; | 115 | static struct GNUNET_NAMESTORE_QueueEntry *del_qe; |
@@ -1063,7 +1058,6 @@ int | |||
1063 | main (int argc, char *const *argv) | 1058 | main (int argc, char *const *argv) |
1064 | { | 1059 | { |
1065 | is_public = -1; | 1060 | is_public = -1; |
1066 | is_pending = -1; | ||
1067 | is_shadow = -1; | 1061 | is_shadow = -1; |
1068 | 1062 | ||
1069 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { | 1063 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { |
@@ -1103,9 +1097,6 @@ main (int argc, char *const *argv) | |||
1103 | {'p', "public", NULL, | 1097 | {'p', "public", NULL, |
1104 | gettext_noop ("create or list public record"), 0, | 1098 | gettext_noop ("create or list public record"), 0, |
1105 | &GNUNET_GETOPT_set_one, &is_public}, | 1099 | &GNUNET_GETOPT_set_one, &is_public}, |
1106 | {'P', "pending", NULL, | ||
1107 | gettext_noop ("create record that is pending approval (and thus for now inactive)"), 0, | ||
1108 | &GNUNET_GETOPT_set_one, &is_pending}, | ||
1109 | {'s', "shadow", NULL, | 1100 | {'s', "shadow", NULL, |
1110 | gettext_noop ("create shadow record (only valid if all other records of the same type have expired"), 0, | 1101 | gettext_noop ("create shadow record (only valid if all other records of the same type have expired"), 0, |
1111 | &GNUNET_GETOPT_set_one, &is_shadow}, | 1102 | &GNUNET_GETOPT_set_one, &is_shadow}, |