summaryrefslogtreecommitdiff
path: root/complete.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 17:39:59 -0500
committerJeff Carr <[email protected]>2025-10-07 17:39:59 -0500
commit67fbce95b2a4f5c0b085e68ce36dc8d42d0f250c (patch)
treee9516688cc8abe230195d9fc3ba6fef00246caca /complete.go
parent46773f4290adb32f0a51b8c8fb79816e3f807103 (diff)
doc
Diffstat (limited to 'complete.go')
-rw-r--r--complete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.go b/complete.go
index 905ba8d..fa3b836 100644
--- a/complete.go
+++ b/complete.go
@@ -209,7 +209,7 @@ func parseArgv(argname string) *Auto {
}
}
- // complete -C /usr/bin/argv forge sets:
+ // "complete -C /usr/bin/argv forge" bash ENV values:
// * `COMP_LINE`: A string containing the entire current command line (forge first second third forth ). This is what you are looking for.
// * `COMP_POINT`: A number indicating the cursor's position (index) within the COMP_LINE.
// * `COMP_WORDS`: An array in Bash (seen differently by Go) containing each individual word on the command line.