aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example.c
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2018-03-25 14:02:56 -0700
committerkatherine <shmibs@shmibbles.me>2018-03-25 14:02:56 -0700
commit274369e625cd972aa95aa900eb861a6dc5a24712 (patch)
tree3d6029e73b2e0929344dfd81a434ac72c6445173 /doc/example.c
parentb72f0a2f2657356286f0eda7408b5816561bccb7 (diff)
downloadsimple-opt-274369e625cd972aa95aa900eb861a6dc5a24712.tar.gz
use word-wrapping for error printing
Diffstat (limited to 'doc/example.c')
-rw-r--r--doc/example.c2
1 files changed, 1 insertions, 1 deletions
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;
}