Closed client9 closed 9 years ago
Thanks @client9, nice addition :+1:
I've made comments, once they are fixed this is good to go.
hello @fatih good review. I made all the changes requested. Take a look!
LGTM.
Thanks @client9 for this addition, it'll make the flag loader more powerful. Much appreciated :)
@fatih This allow people to have function to set flag default Usage messages. To write a test I had to save the temporary
FlagSet
that is created (as a private field inFlagLoader
). If you don't like this, we can either just delete the test (not great) or figure out another way to emit the usage and capture stdout/stderr (really gross).merge, comment or suggestions all welcome!
n