summaryrefslogtreecommitdiff
path: root/doc.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2019-11-20 22:52:44 +0200
committerEyal Posener <[email protected]>2019-11-20 22:52:44 +0200
commitb05895fa6c478784bdf66547fd6b0bf613d06f0e (patch)
tree6f4934b395617bc81a431b8c528dcd428d1184f7 /doc.go
parent7881076092b517aa51d532d933371842bc0dc084 (diff)
fix references to complete
Diffstat (limited to 'doc.go')
-rw-r--r--doc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc.go b/doc.go
index 0b8776b..63775dc 100644
--- a/doc.go
+++ b/doc.go
@@ -27,7 +27,7 @@ Install:
1. Type in your shell:
- go get -u github.com/posener/complete/gocomplete
+ go get -u github.com/posener/complete/v2/gocomplete
COMP_INSTALL=1 gocomplete
2. Restart your shell
@@ -99,7 +99,7 @@ To use this feature, simply call `complete.CommandLine` before `flag.Parse`. (Se
If flag value completion is desired, it can be done by providing the standard library `flag.Var`
function a `flag.Value` that also implements the `complete.Predictor` interface. For standard
-flag with values, it is possible to use the `github.com/posener/complete/compflag` package.
+flag with values, it is possible to use the `github.com/posener/complete/v2/compflag` package.
(See ./example/compflag).
import (