From fd95af0e3ebefd67d9094b9181f7c6629a9c5427 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 2 Nov 2017 11:04:15 +0800 Subject: [PATCH] Add informations on -indent in wrap highlighter docstring --- src/highlighters.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/highlighters.cc b/src/highlighters.cc index dff32928..aec2e3ac 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -2065,9 +2065,10 @@ void register_highlighters() registry.insert({ "wrap", { WrapHighlighter::create, - "Parameters: [-word] [-width ]\n" + "Parameters: [-word] [-indent] [-width ]\n" "Wrap lines to window width, or max_width if given and window is wider,\n" - "wrap at word boundaries instead of codepoint boundaries if -word is given" } }); + "wrap at word boundaries instead of codepoint boundaries if -word is given\n" + "preserve line indent in wrapped parts if -indent is given\n"} }); registry.insert({ "ref", { ReferenceHighlighter::create,