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

Tormod Volden lists.tormod at gmail.com
Thu Sep 1 23:31:30 CEST 2011


Stefan,
This and the other patches can also be pulled from or reviewed at
https://gitorious.org/~tormod/unofficial-clones/dfuse-dfu-util in the
master-patches branch.

Tormod


On Thu, Sep 1, 2011 at 10:05 PM, Tormod Volden <lists.tormod at gmail.com> 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.
>
> Tormod



More information about the devel mailing list