[PATCH v2] main: Fix up printing of own version

Stefan Schmidt stefan at datenfreihafen.org
Tue Sep 6 19:32:10 CEST 2011


Hello.

On Thu, 2011-09-01 at 22:05, Tormod Volden wrote:
> From: Tormod Volden <debian.tormod at gmail.com>
> 
> Make the --version output compatible with for instance help2man.
> Print the version on normal invokation.
> 
> Also remove unreachable check for file name, getopt takes care of that.
> 
> Signed-off-by: Tormod Volden <debian.tormod at gmail.com>
> ---
> 
> v2: Move check for -D or -U before libusb initialisation. Drop check for
> file name.

I agree with the other reviewers here that keeping --version is a good
thing and I like how you worked it out. Patch looks good, applied.

regards
Stefan Schmidt



More information about the devel mailing list