diff options
| author | Eyal Posener <[email protected]> | 2019-11-20 22:52:44 +0200 |
|---|---|---|
| committer | Eyal Posener <[email protected]> | 2019-11-20 22:52:44 +0200 |
| commit | b05895fa6c478784bdf66547fd6b0bf613d06f0e (patch) | |
| tree | 6f4934b395617bc81a431b8c528dcd428d1184f7 /doc.go | |
| parent | 7881076092b517aa51d532d933371842bc0dc084 (diff) | |
fix references to complete
Diffstat (limited to 'doc.go')
| -rw-r--r-- | doc.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ( |
