diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-15 11:40:24 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-15 11:40:47 +0100 |
commit | 796d0e5aa54ed99dd00fae26982a0e99f9d99f8e (patch) | |
tree | 45b58e703374b2227ab606b2758467c3c4fa79c4 /src/datastore/gnunet-datastore.c | |
parent | f51f3438fa3451ee758152e53fe823780fb1e261 (diff) | |
download | gnunet-796d0e5aa54ed99dd00fae26982a0e99f9d99f8e.tar.gz gnunet-796d0e5aa54ed99dd00fae26982a0e99f9d99f8e.zip |
Porting 'nat'.
Diffstat (limited to 'src/datastore/gnunet-datastore.c')
-rw-r--r-- | src/datastore/gnunet-datastore.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/datastore/gnunet-datastore.c b/src/datastore/gnunet-datastore.c index b3d14c43c..509c7f8b1 100644 --- a/src/datastore/gnunet-datastore.c +++ b/src/datastore/gnunet-datastore.c | |||
@@ -239,10 +239,12 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
239 | int | 239 | int |
240 | main (int argc, char *const *argv) | 240 | main (int argc, char *const *argv) |
241 | { | 241 | { |
242 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { | 242 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
243 | { 's', "sourcecfg", "FILENAME", | 243 | GNUNET_GETOPT_OPTION_FILENAME ('s', |
244 | gettext_noop ("specifies the configuration to use to access an alternative datastore; will merge that datastore into our current datastore"), | 244 | "sourcecfg", |
245 | 1, &GNUNET_GETOPT_set_filename, &alternative_cfg }, | 245 | "FILENAME", |
246 | gettext_noop ("specifies the configuration to use to access an alternative datastore; will merge that datastore into our current datastore"), | ||
247 | &alternative_cfg), | ||
246 | GNUNET_GETOPT_OPTION_END | 248 | GNUNET_GETOPT_OPTION_END |
247 | }; | 249 | }; |
248 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) | 250 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) |