Skip to content

Commit 1b0fa23

Browse files
authored
Rename FlagSetter to FlagsGetter (#40)
1 parent bf7d1f2 commit 1b0fa23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

acmd.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ type Command struct {
5757

5858
// FlagSet is an optional field where you can provide command's flags.
5959
// Is used for autocomplete. Works best with https://github.com/cristalhq/flagx
60-
FlagSet FlagSetter
60+
FlagSet FlagsGetter
6161
}
6262

63-
// FlagSetter returns flags for the command. See examples.
64-
type FlagSetter interface {
63+
// FlagsGetter returns flags for the command. See examples.
64+
type FlagsGetter interface {
6565
Flags() *flag.FlagSet
6666
}
6767

0 commit comments

Comments
 (0)