gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28586 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r28586 - gnunet/src/testing
Date: Tue, 13 Aug 2013 23:05:30 +0200

Author: dold
Date: 2013-08-13 23:05:30 +0200 (Tue, 13 Aug 2013)
New Revision: 28586

Modified:
   gnunet/src/testing/gnunet-testing-run-service.c
Log:
- bug in argument parsing


Modified: gnunet/src/testing/gnunet-testing-run-service.c
===================================================================
--- gnunet/src/testing/gnunet-testing-run-service.c     2013-08-13 20:56:12 UTC 
(rev 28585)
+++ gnunet/src/testing/gnunet-testing-run-service.c     2013-08-13 21:05:30 UTC 
(rev 28586)
@@ -185,10 +185,10 @@
   static char *srv_name;
   static const struct GNUNET_GETOPT_CommandLineOption options[] = {
     {'c', "config", "FILENAME",
-     gettext_noop ("name of the template configuration file to use 
(optional)"), 1,
+     gettext_noop ("name of the template configuration file to use 
(optional)"), GNUNET_NO,
      &GNUNET_GETOPT_set_string, &cfg_name},
     {'s', "service", "SERVICE",
-     gettext_noop ("name of the service to run"), 1,
+     gettext_noop ("name of the service to run"), GNUNET_YES,
      &GNUNET_GETOPT_set_string, &srv_name},
     GNUNET_GETOPT_OPTION_HELP ("tool to start a service for testing"),
     GNUNET_GETOPT_OPTION_END
@@ -196,7 +196,7 @@
   int ret;
 
   if (GNUNET_SYSERR ==
-      GNUNET_GETOPT_run("gnunet-testing-run-service", options, argc, argv))
+      GNUNET_GETOPT_run ("gnunet-testing-run-service", options, argc, argv))
     return 1;
   ret = GNUNET_TESTING_service_run ("gnunet_service_test", srv_name,
                                    cfg_name, &testing_main, NULL);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]