Switch from native flags to posix flags#111
Switch from native flags to posix flags#111andrewbenton wants to merge 3 commits intofullstorydev:masterfrom
Conversation
This is beneficial because it makes grpcurl more like curl. Many more flags are now common between grpcurl and curl which will help users that are new to the tool.
|
@andrewbenton, does this require long flag names to use two dashes and only allows short flag names with a single dash? If so, this is not backwards-compatible and will be a serious breaking change for anyone that has scripts that reference this tool. I know the flag-handling is awkward due to the standard Go |
|
There might be some other library that's able to accept the single dash as well as the double dashed form of the argument. I'll have to see what I can find. Under posix flags, something like |
This is beneficial because it makes grpcurl more like curl. Many more
flags are now common between grpcurl and curl which will help users that
are new to the tool.