This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 286c81002 system/readline: update stale tab_completion description
286c81002 is described below
commit 286c81002998664488435aa7240c0f3671dc7a7f
Author: Junbo Zheng <[email protected]>
AuthorDate: Fri Nov 13 09:56:52 2026 +0800
system/readline: update stale tab_completion description
The commit adding path completion for command arguments (3482518e3b07,
PR #4010) made TAB complete the last word of the line against directory
entries before falling back to builtin command names, but the
tab_completion() header comment was left saying "only for builtin apps".
Update the description to match the actual two-level behavior.
Signed-off-by: Junbo Zheng <[email protected]>
---
system/readline/readline_common.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/system/readline/readline_common.c
b/system/readline/readline_common.c
index fecffcf91..7ab3ed06d 100644
--- a/system/readline/readline_common.c
+++ b/system/readline/readline_common.c
@@ -558,7 +558,9 @@ static bool tab_path_completion(FAR struct rl_common_s
*vtbl,
* Name: tab_completion
*
* Description:
- * Unix like tab completion, only for builtin apps
+ * Unix like tab completion: paths in the argument position (see
+ * tab_path_completion()), falling back to builtin app names in the
+ * command position.
*
* Input Parameters:
* vtbl - vtbl used to access implementation specific interface