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