From 38a0077033ebdd51f730852256352a4663b0f034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sat, 20 Sep 2014 18:09:44 +0200 Subject: Generate a manpage help2man should be enough so far. --- utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index 1555715..f84001a 100644 --- a/utils.c +++ b/utils.c @@ -1962,7 +1962,7 @@ opt_handler_init (struct opt_handler *self, int argc, char **argv, } static void -opt_handler_usage (struct opt_handler *self) +opt_handler_usage (struct opt_handler *self, FILE *stream) { struct str usage; str_init (&usage); @@ -2000,7 +2000,7 @@ opt_handler_usage (struct opt_handler *self) str_free (&row); } - fputs (usage.str, stderr); + fputs (usage.str, stream); str_free (&usage); } -- cgit v1.2.3