From 731758537f45b602b000cb081d8b642fc54141da Mon Sep 17 00:00:00 2001
From: albert-github
Date: Sun, 19 Aug 2018 19:45:00 +0200
Subject: Documentation correction include command with options
- Corrected syntax
- made text consistent
---
doc/commands.doc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/commands.doc b/doc/commands.doc
index 2e51d79..a630aac 100644
--- a/doc/commands.doc
+++ b/doc/commands.doc
@@ -2157,7 +2157,7 @@ Commands for displaying examples
\ref cmdinclude "\\include".
-\section cmdinclude[{lineno|doc}] \\include
+\section cmdinclude \\include[{lineno|doc}]
\addindex \\include
This command can be used to include a source file as a block of code.
@@ -2210,8 +2210,8 @@ Commands for displaying examples
\section cmdincludelineno \\includelineno
\addindex \\includelineno
- This command works the same way as \ref cmdinclude "\\include", but will add line
- numbers to the included file.
+ This command is obsolete and is still supported for backward compatibility reasons,
+ it works the same way as \ref cmdinclude "\\include{lineno}"
\sa sections \ref cmdinclude "\\include{lineno}".
@@ -2222,7 +2222,7 @@ Commands for displaying examples
This command is obsolete and is still supported for backward compatibility reasons,
it works the same way as \ref cmdinclude "\\include{doc}"
- \sa section \ref cmdinclude "\\include".
+ \sa section \ref cmdinclude "\\include{doc}".
\section cmdline \\line ( pattern )
--
cgit v0.12