diff options
Diffstat (limited to 'src/tool_msgs.c')
-rw-r--r-- | src/tool_msgs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tool_msgs.c b/src/tool_msgs.c index c0e85aee6..48877b30d 100644 --- a/src/tool_msgs.c +++ b/src/tool_msgs.c @@ -105,9 +105,9 @@ void warnf(struct GlobalConfig *config, const char *fmt, ...) va_end(ap); } /* - * Emit help formatted message on given stream. + * Emit help formatted message on given stream. This is for errors with or + * related to command line arguments. */ - void helpf(FILE *errors, const char *fmt, ...) { if(fmt) { @@ -125,7 +125,8 @@ void helpf(FILE *errors, const char *fmt, ...) } /* - * Emit error message on error stream if not muted. + * Emit error message on error stream if not muted. When errors are not tied + * to command line arguments, use helpf() for such errors. */ void errorf(struct GlobalConfig *config, const char *fmt, ...) { |