Browse Source

config: note that some arguments are required.

Nick Mathewson 6 years ago
parent
commit
eb909c4e43
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/app/config/confparse.c

+ 2 - 0
src/app/config/confparse.c

@@ -581,6 +581,8 @@ config_mark_lists_fragile(const config_mgr_t *mgr, void *options)
 /**
  * Log a warning that declaring that the option called <b>what</b>
  * is deprecated because of the reason in <b>why</b>.
+ *
+ * (Both arguments must be non-NULL.)
  **/
 void
 warn_deprecated_option(const char *what, const char *why)