aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8fc29f9..4dc9861 100644
--- a/README.md
+++ b/README.md
@@ -58,7 +58,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;
}
@@ -160,7 +160,7 @@ $ ./a.out --int
```
$ ./a.out --bool fake
./a.out: bad argument `fake` passed to option `--bool`
-expected boolean, (yes|true|on) or (no|false|off)
+ expected a boolean: (yes|true|on) or (no|false|off)
```
if one of the options passed is the help flag (`-h` or `--help`), this example