diff options
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/gnunet-namestore.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 2ce3741f8..dcb9dd678 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -1132,45 +1132,45 @@ main (int argc, | |||
1132 | 1132 | ||
1133 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 1133 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
1134 | 1134 | ||
1135 | GNUNET_GETOPT_OPTION_SET_ONE ('a', | 1135 | GNUNET_GETOPT_option_flag ('a', |
1136 | "add", | 1136 | "add", |
1137 | gettext_noop ("add record"), | 1137 | gettext_noop ("add record"), |
1138 | &add), | 1138 | &add), |
1139 | 1139 | ||
1140 | GNUNET_GETOPT_OPTION_SET_ONE ('d', | 1140 | GNUNET_GETOPT_option_flag ('d', |
1141 | "delete", | 1141 | "delete", |
1142 | gettext_noop ("delete record"), | 1142 | gettext_noop ("delete record"), |
1143 | &del), | 1143 | &del), |
1144 | 1144 | ||
1145 | GNUNET_GETOPT_OPTION_SET_ONE ('D', | 1145 | GNUNET_GETOPT_option_flag ('D', |
1146 | "display", | 1146 | "display", |
1147 | gettext_noop ("display records"), | 1147 | gettext_noop ("display records"), |
1148 | &list), | 1148 | &list), |
1149 | 1149 | ||
1150 | GNUNET_GETOPT_OPTION_STRING ('e', | 1150 | GNUNET_GETOPT_option_string ('e', |
1151 | "expiration", | 1151 | "expiration", |
1152 | "TIME", | 1152 | "TIME", |
1153 | gettext_noop ("expiration time for record to use (for adding only), \"never\" is possible"), | 1153 | gettext_noop ("expiration time for record to use (for adding only), \"never\" is possible"), |
1154 | &expirationstring), | 1154 | &expirationstring), |
1155 | 1155 | ||
1156 | GNUNET_GETOPT_OPTION_STRING ('i', | 1156 | GNUNET_GETOPT_option_string ('i', |
1157 | "nick", | 1157 | "nick", |
1158 | "NICKNAME", | 1158 | "NICKNAME", |
1159 | gettext_noop ("set the desired nick name for the zone"), | 1159 | gettext_noop ("set the desired nick name for the zone"), |
1160 | &nickstring), | 1160 | &nickstring), |
1161 | 1161 | ||
1162 | GNUNET_GETOPT_OPTION_SET_ONE ('m', | 1162 | GNUNET_GETOPT_option_flag ('m', |
1163 | "monitor", | 1163 | "monitor", |
1164 | gettext_noop ("monitor changes in the namestore"), | 1164 | gettext_noop ("monitor changes in the namestore"), |
1165 | &monitor), | 1165 | &monitor), |
1166 | 1166 | ||
1167 | GNUNET_GETOPT_OPTION_STRING ('n', | 1167 | GNUNET_GETOPT_option_string ('n', |
1168 | "name", | 1168 | "name", |
1169 | "NAME", | 1169 | "NAME", |
1170 | gettext_noop ("name of the record to add/delete/display"), | 1170 | gettext_noop ("name of the record to add/delete/display"), |
1171 | &name), | 1171 | &name), |
1172 | 1172 | ||
1173 | GNUNET_GETOPT_OPTION_STRING ('r', | 1173 | GNUNET_GETOPT_option_string ('r', |
1174 | "reverse", | 1174 | "reverse", |
1175 | "PKEY", | 1175 | "PKEY", |
1176 | gettext_noop ("determine our name for the given PKEY"), | 1176 | gettext_noop ("determine our name for the given PKEY"), |
@@ -1178,35 +1178,35 @@ main (int argc, | |||
1178 | 1178 | ||
1179 | 1179 | ||
1180 | 1180 | ||
1181 | GNUNET_GETOPT_OPTION_STRING ('t', | 1181 | GNUNET_GETOPT_option_string ('t', |
1182 | "type", | 1182 | "type", |
1183 | "TYPE", | 1183 | "TYPE", |
1184 | gettext_noop ("type of the record to add/delete/display"), | 1184 | gettext_noop ("type of the record to add/delete/display"), |
1185 | &typestring), | 1185 | &typestring), |
1186 | 1186 | ||
1187 | GNUNET_GETOPT_OPTION_STRING ('u', | 1187 | GNUNET_GETOPT_option_string ('u', |
1188 | "uri", | 1188 | "uri", |
1189 | "URI", | 1189 | "URI", |
1190 | gettext_noop ("URI to import into our zone"), | 1190 | gettext_noop ("URI to import into our zone"), |
1191 | &uri), | 1191 | &uri), |
1192 | 1192 | ||
1193 | GNUNET_GETOPT_OPTION_STRING ('V', | 1193 | GNUNET_GETOPT_option_string ('V', |
1194 | "value", | 1194 | "value", |
1195 | "VALUE", | 1195 | "VALUE", |
1196 | gettext_noop ("value of the record to add/delete"), | 1196 | gettext_noop ("value of the record to add/delete"), |
1197 | &value), | 1197 | &value), |
1198 | 1198 | ||
1199 | GNUNET_GETOPT_OPTION_SET_ONE ('p', | 1199 | GNUNET_GETOPT_option_flag ('p', |
1200 | "public", | 1200 | "public", |
1201 | gettext_noop ("create or list public record"), | 1201 | gettext_noop ("create or list public record"), |
1202 | &is_public), | 1202 | &is_public), |
1203 | 1203 | ||
1204 | GNUNET_GETOPT_OPTION_SET_ONE ('s', | 1204 | GNUNET_GETOPT_option_flag ('s', |
1205 | "shadow", | 1205 | "shadow", |
1206 | gettext_noop ("create shadow record (only valid if all other records of the same type have expired"), | 1206 | gettext_noop ("create shadow record (only valid if all other records of the same type have expired"), |
1207 | &is_shadow), | 1207 | &is_shadow), |
1208 | 1208 | ||
1209 | GNUNET_GETOPT_OPTION_STRING ('z', | 1209 | GNUNET_GETOPT_option_string ('z', |
1210 | "zone", | 1210 | "zone", |
1211 | "EGO", | 1211 | "EGO", |
1212 | gettext_noop ("name of the ego controlling the zone"), | 1212 | gettext_noop ("name of the ego controlling the zone"), |