aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_getopt_lib.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-09-28 12:36:36 +0000
committerBart Polot <bart@net.in.tum.de>2012-09-28 12:36:36 +0000
commit18950c7644481d5ea1a3789d8fc394404eca591d (patch)
tree145bf85cc054c8983f2dc35440caa7e4dee66bfe /src/include/gnunet_getopt_lib.h
parent15e0bcb27f2d9eede1f4ae2ce80bc87f2bca6c65 (diff)
downloadgnunet-18950c7644481d5ea1a3789d8fc394404eca591d.tar.gz
gnunet-18950c7644481d5ea1a3789d8fc394404eca591d.zip
Passing -v or -h options to a command no longer returns error code
Diffstat (limited to 'src/include/gnunet_getopt_lib.h')
-rw-r--r--src/include/gnunet_getopt_lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_getopt_lib.h b/src/include/gnunet_getopt_lib.h
index 14ba15d66..3008b8146 100644
--- a/src/include/gnunet_getopt_lib.h
+++ b/src/include/gnunet_getopt_lib.h
@@ -333,7 +333,7 @@ GNUNET_GETOPT_increment_value (struct GNUNET_GETOPT_CommandLineProcessorContext
333 * @param scls additional closure (points to about text) 333 * @param scls additional closure (points to about text)
334 * @param option name of the option 334 * @param option name of the option
335 * @param value not used (NULL) 335 * @param value not used (NULL)
336 * @return GNUNET_SYSERR (do not continue) 336 * @return GNUNET_NO (do not continue, not an error)
337 */ 337 */
338int 338int
339GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext 339GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext
@@ -347,7 +347,7 @@ GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext
347 * @param scls additional closure (points to version string) 347 * @param scls additional closure (points to version string)
348 * @param option name of the option 348 * @param option name of the option
349 * @param value not used (NULL) 349 * @param value not used (NULL)
350 * @return GNUNET_SYSERR (do not continue) 350 * @return GNUNET_NO (do not continue, not an error)
351 */ 351 */
352int 352int
353GNUNET_GETOPT_print_version_ (struct GNUNET_GETOPT_CommandLineProcessorContext 353GNUNET_GETOPT_print_version_ (struct GNUNET_GETOPT_CommandLineProcessorContext