issues
search
spf13
/
pflag
Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
BSD 3-Clause "New" or "Revised" License
2.43k
stars
348
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Passing empty string to StringArrayVar results in array of 1 element
#415
zchenyu
opened
1 month ago
0
Fix bracket handling in StringToString (#413)
#414
lstemplinger
opened
2 months ago
1
FlagSet.GetStringToString() drops brackets from values
#413
lstemplinger
opened
2 months ago
0
Make the --version flag work only on the root command
#412
kevgo
closed
2 months ago
0
limit the branches that `git town switch` displays
#411
kevgo
closed
2 months ago
3
feature request: footgun-proofing `--some-boolean-flag false`
#410
zackelan
opened
3 months ago
1
fix: correct argument length check in FlagSet.Parse
#409
ShawnJeffersonWang
opened
4 months ago
1
Fix section name in README.md
#408
ardrabczyk
opened
4 months ago
1
flag: Emulate stdlib behavior and do not print ErrHelp
#407
tmc
opened
5 months ago
1
Unexpected flag value when asterisk (*) is passed as string flag value
#406
jakedoublev
opened
5 months ago
2
How can I make a flag requried?
#405
rew1nter
opened
5 months ago
0
bug fix: If a variable has a default value set, when using the variab…
#404
heshiyingx
opened
6 months ago
1
Add documentation for flags with custom variable names
#403
calebstewart
opened
6 months ago
1
maintenance status?
#402
sedan-cell
opened
6 months ago
1
Where is the `BoolFunc` method?
#401
rew1nter
opened
7 months ago
0
Warning to NoOptDefVal
#400
guettli
opened
7 months ago
1
go test error
#399
moradudu
opened
7 months ago
0
feat: Support URLs as a native Flag type
#398
neelanjan00
opened
8 months ago
1
Misleading documentation for func StringToStringVar
#397
fxierh
opened
8 months ago
1
Support multiple chars shorthand eg: -ff file --filefrom file
#396
timandy
opened
8 months ago
1
docs: document how backquotes are handled in usage messages
#395
bhcleek
opened
8 months ago
1
Is SliceValue() a purely internal interface?
#394
papadeltasierra
opened
9 months ago
0
Wrong documentation in Readme for flag.VarP
#393
Ahmed4812
opened
11 months ago
0
v1.0.6 tag with accumulated patches
#392
wkhere
opened
11 months ago
1
Whether nargs is supported
#391
Anthony-Dong
opened
11 months ago
0
Quotes not preserved in flags of type StringToString
#390
octachrome
opened
1 year ago
0
test: refactored tests
#389
fredbi
opened
1 year ago
0
ci: replaced travis by gitub action
#388
fredbi
opened
1 year ago
2
Maint/enable golangci lint
#387
fredbi
opened
1 year ago
0
proposals to revive pflag as an actively maintained repo
#386
fredbi
opened
1 year ago
2
Maintenance status?
#385
fredbi
opened
1 year ago
31
`CountVar` doesn't support default value setting
#384
ZhouXing19
opened
1 year ago
1
usages: align flag types separately from names
#383
avamsi
opened
1 year ago
1
`SortFlags` not exported
#382
plungingChode
opened
1 year ago
1
Generate a clearer panic message
#381
roshanavand
opened
1 year ago
4
Assorted small fixups
#380
kolyshkin
opened
1 year ago
1
Error while using pflag with testify.Suite
#379
kayrosik
opened
1 year ago
0
fix: code optimization
#378
testwill
opened
1 year ago
1
How I can grouping options
#377
dr-begemot
opened
1 year ago
0
Feature Request: pflag conversion to flag library.
#376
Kush-Saxena
closed
1 year ago
0
Support generic StringToVar maps
#375
SOF3
opened
1 year ago
1
Adding custom validation for any type of flag's value
#374
ErfanMomeniii
opened
1 year ago
5
Allow `UnquoteUsage()` to be disabled
#373
brianstrauch
opened
1 year ago
0
Teach pflag to handle unambiguous abbreviated long-args
#372
opencoff
opened
1 year ago
1
lazyQuote option for stringSlice
#371
dbenque
opened
1 year ago
1
can't use double quote in values passed inside a string slice
#370
dbenque
opened
1 year ago
1
Fix TestPrintDefaults with go >= 1.18
#369
pterjan
opened
1 year ago
1
"./flag_test.go:1242:3: fmt.Println arg list ends with redundant newline" with go >= 1.18
#368
pterjan
opened
1 year ago
0
Flags().Uin64P broken
#367
blacktop
closed
1 year ago
2
normalizing a flag side-effects
#366
nicolasparada
closed
1 year ago
2
Next