summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-01 15:49:47 -0700
committerGitHub <noreply@github.com>2017-08-01 15:49:47 -0700
commitce5d8e313f6db68aff2cb82b8378ff60ddc695b2 (patch)
tree45ea9a9d74b473429f1247cfbc5d86d9a211e8b8
parent022a55fda07b5eae3efb2a6edd26b0f407252b91 (diff)
parentd695e66f6cae2f4c8e57783b7d689a9583dc100f (diff)
Merge pull request #221 from pclouds/document-validate-utf8
Advertise --validate-utf8 in usage information
-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");
}