summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-08-01 19:38:08 +0700
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-08-01 19:39:01 +0700
commitd695e66f6cae2f4c8e57783b7d689a9583dc100f (patch)
treee27b43a97e528ef879add5e2b78664a4b743a02f /src/main.c
parentffde0612e7e59a4d19e6c2ee0ac062ae4d049f5e (diff)
Advertise --validate-utf8 in usage information
This option was added in 04726a7 (Added `CMARK_OPT_VALIDATE_UTF8` option. - 2015-06-16) but not "documented".
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 9482f68..8942520 100644
--- a/src/main.c
+++ b/src/main.c
@@ -32,6 +32,7 @@ void print_usage() {
printf(" --nobreaks Render soft line breaks as spaces\n");
printf(" --safe Suppress raw HTML and dangerous URLs\n");
printf(" --smart Use smart punctuation\n");
+ printf(" --validate-utf8 Replace UTF-8 invalid sequences with U+FFFD\n");
printf(" --help, -h Print usage information\n");
printf(" --version Print version\n");
}