summaryrefslogtreecommitdiff
path: root/cli/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-18 10:48:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-18 10:48:13 +0200
commit1a6cde47f6c524dc63c4a837ee6b94041320c681 (patch)
treec4cdfe3606cb77d4c3fdb7d9f12c02c48d2574bc /cli/context.hxx
parent5a2da5767e796bcfdaf5ebf3b80b93c57d31d0aa (diff)
Add support for links in documentation: \l{<target>[ <text>]}
If link target doesn't contain ':' (protocol separator), then it is assumed to be the man page reference in the form '<name>(<section>)'. If text is missing, then target is used as text.
Diffstat (limited to 'cli/context.hxx')
-rw-r--r--cli/context.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/context.hxx b/cli/context.hxx
index 33dc58e..0170c7c 100644
--- a/cli/context.hxx
+++ b/cli/context.hxx
@@ -95,10 +95,10 @@ public:
// If para is true, start a new paragraph.
//
- static string
+ string
format (output_type, string const&, bool para);
- static void
+ void
format_line (output_type, string&, const char*, size_t);
public: