diff --git a/doc_src/commandline.txt b/doc_src/commandline.txt
index c2434d546..55085e8d9 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 complete -C STRING
, commandline will consider the
+specified string to be the current contents of the commandline.
+
\subsection commandline-example Example
commandline -j $history[3]