aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc_src/commandline.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc_src/commandline.txt b/doc_src/commandline.txt
index c2434d54..55085e8d 100644
--- a/doc_src/commandline.txt
+++ b/doc_src/commandline.txt
@@ -43,6 +43,10 @@ Other switches
that they will be returned to the reader before any additional
actual keypresses are read.
+If commandline is called during a call to complete a given string
+using <code>complete -C STRING</code>, commandline will consider the
+specified string to be the current contents of the commandline.
+
\subsection commandline-example Example
<tt>commandline -j $history[3]</tt>