From 274369e625cd972aa95aa900eb861a6dc5a24712 Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 25 Mar 2018 14:02:56 -0700 Subject: use word-wrapping for error printing --- doc/example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/example.c') diff --git a/doc/example.c b/doc/example.c index 2c21341..324473e 100644 --- a/doc/example.c +++ b/doc/example.c @@ -38,7 +38,7 @@ int main(int argc, char **argv) /* catch any errors and print a default error message. you can do this bit * yourself, if you'd like more control of the output */ if (result.result_type != SIMPLE_OPT_RESULT_SUCCESS) { - simple_opt_print_error(stderr, argv[0], result); + simple_opt_print_error(stderr, 80, argv[0], result); return 1; } -- cgit v1.2.3