[PATCH 1/6] main: Always print version, drop -V option
Timo Juhani Lindfors
timo.lindfors at iki.fi
Wed Aug 31 23:39:39 CEST 2011
Hi,
Tormod Volden <lists.tormod at gmail.com> writes:
> " -h --help\t\t\tPrint this help message\n"
> - " -V --version\t\t\tPrint the version number\n"
Why this change? It is very useful to be able to query the version
number of a package with --version.
> - printf("dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.\n"
> + printf("dfu-util version %s\n", VERSION);
> + printf("(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.\n"
> "This program is Free Software and has ABSOLUTELY NO
> WARRANTY\n\n");
This looks fine.
-Timo
More information about the devel
mailing list