summaryrefslogtreecommitdiff
path: root/doc.go
diff options
context:
space:
mode:
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 (