On Wed, Feb 10, 2021 at 06:33:53PM +0100, Daniel Wagner wrote: > On Wed, Feb 10, 2021 at 12:28:09PM -0500, John Kacur wrote: > > It shouldn't be a fall through, we don't want to print the usage. > > Ok. In this case I suggest we introduce for all tolls the long option > '--version' and print only the version string. > > As I have already added the long parsing option in my series 'Generate > machine-readable output'. This was a lot of tedious work, so I would > like to avoid to do it split out for the '--version' option. Thus, could > you review the series and I could easily fix this problem. It's great idea to have JSON format for all the tools. However I just don't see why "-v"/"--version" is related to your machine readable output work. Could you exlaborate? Thanks, -- Peter Xu