diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-09 13:01:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-09 13:01:13 +0200 |
commit | cd3758bb328ff425bb06f18c81d3c353b508a336 (patch) | |
tree | ed8a85f7c01fa83852bb6d51e4fc2dd2a268b388 /cli/cli/context.hxx | |
parent | 9944c0e901d370316fe55fb845ad1c3c6721038d (diff) |
Add --ascii-tree for translating UTF-8 tree(1) output to ASCII
Diffstat (limited to 'cli/cli/context.hxx')
-rw-r--r-- | cli/cli/context.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cli/cli/context.hxx b/cli/cli/context.hxx index 66dcb24..19bfa51 100644 --- a/cli/cli/context.hxx +++ b/cli/cli/context.hxx @@ -153,10 +153,13 @@ public: string process_link_target (const string&); - // Translate and format the documentation string. Translate converts - // the <arg>-style constructs to \i{arg}. Format converts the string - // to the output format. + // Preprocess, translate, and format the documentation string. Translate + // converts the <arg>-style constructs to \i{arg}. Format converts the + // string to the output format. // + static void + preprocess_ascii_tree (string&); + static string translate_arg (string const&, std::set<string>&); |