summaryrefslogtreecommitdiff
path: root/lib/readline/examples/fileman.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/readline/examples/fileman.c')
-rw-r--r--lib/readline/examples/fileman.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/readline/examples/fileman.c b/lib/readline/examples/fileman.c
index 3ecb9f18..8709120d 100644
--- a/lib/readline/examples/fileman.c
+++ b/lib/readline/examples/fileman.c
@@ -194,10 +194,11 @@ initialize_readline ()
rl_attempted_completion_function = (CPPFunction *)fileman_completion;
}
-/* Attempt to complete on the contents of TEXT. START and END show the
- region of TEXT that contains the word to complete. We can use the
- entire line in case we want to do some simple parsing. Return the
- array of matches, or NULL if there aren't any. */
+/* Attempt to complete on the contents of TEXT. START and END bound the
+ region of rl_line_buffer that contains the word to complete. TEXT is
+ the word to complete. We can use the entire contents of rl_line_buffer
+ in case we want to do some simple parsing. Return the array of matches,
+ or NULL if there aren't any. */
char **
fileman_completion (text, start, end)
char *text;