summaryrefslogtreecommitdiff
path: root/compflag/flags.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2020-05-10 06:04:42 +0300
committerEyal Posener <[email protected]>2020-05-10 06:04:42 +0300
commit1f0264a9ce8ad116058a834e517808b767d9b34b (patch)
tree2521a42e2facceb6488e6d236499a28f73983bf9 /compflag/flags.go
parent0b15fb4d6eceeba7d3a44ee4f7add42559774c4b (diff)
Use autogen
Diffstat (limited to 'compflag/flags.go')
-rw-r--r--compflag/flags.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/compflag/flags.go b/compflag/flags.go
index 91b413a..10fd32a 100644
--- a/compflag/flags.go
+++ b/compflag/flags.go
@@ -1,3 +1,5 @@
+// Autogenerated by go run compflag/gen/main.go. DO NOT EDIT.
+
package compflag
import (
@@ -8,10 +10,6 @@ import (
"github.com/posener/complete/v2/predict"
)
-// Code auto generated with `go run ./gen`. DO NOT EDIT
-
-//go:generate go run ./gen
-
// String if a flag function for a flag of type string.
func String(name string, value string, usage string, options ...predict.Option) *string {
return CommandLine.String(name, value, usage, options...)