fix(go clean): Added missing flags
Added missing flags go clean -cache -testcache -modcache
This commit is contained in:
parent
fe498e5eda
commit
5b53660969
|
@ -449,7 +449,7 @@ func main() {
|
||||||
"-unusedfuncs": complete.PredictAnything,
|
"-unusedfuncs": complete.PredictAnything,
|
||||||
"-unusedresult": complete.PredictNothing,
|
"-unusedresult": complete.PredictNothing,
|
||||||
"-unusedstringmethods": complete.PredictAnything,
|
"-unusedstringmethods": complete.PredictAnything,
|
||||||
"-v": complete.PredictNothing,
|
"-v": complete.PredictNothing,
|
||||||
},
|
},
|
||||||
Args: anyGo,
|
Args: anyGo,
|
||||||
},
|
},
|
||||||
|
@ -458,10 +458,13 @@ func main() {
|
||||||
|
|
||||||
clean := complete.Command{
|
clean := complete.Command{
|
||||||
Flags: complete.Flags{
|
Flags: complete.Flags{
|
||||||
"-i": complete.PredictNothing,
|
"-i": complete.PredictNothing,
|
||||||
"-r": complete.PredictNothing,
|
"-r": complete.PredictNothing,
|
||||||
"-n": complete.PredictNothing,
|
"-n": complete.PredictNothing,
|
||||||
"-x": complete.PredictNothing,
|
"-x": complete.PredictNothing,
|
||||||
|
"-cache": complete.PredictNothing,
|
||||||
|
"-testcache": complete.PredictNothing,
|
||||||
|
"-modcache": complete.PredictNothing,
|
||||||
},
|
},
|
||||||
Args: complete.PredictOr(anyPackage, ellipsis),
|
Args: complete.PredictOr(anyPackage, ellipsis),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue