[PATCH 1/6] main: Always print version, drop -V option
lists.tormod at gmail.com
Wed Aug 31 23:50:34 CEST 2011
On Wed, Aug 31, 2011 at 11:39 PM, Timo Juhani Lindfors
<timo.lindfors at iki.fi> wrote:
> 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.
We really want to see the version in all cases (for instance when
people paste output to bug reports), so the --version option does not
offer much value IMO. The --version would also print a lot of other
stuff so it seemed kind of broken.
If we want to keep it for some reason, it should get fixed to only
print the version and nothing else. Patches? :p
Also, if we need the package version for bug reports etc, the user
should instead do "dpkg -l dfu-util" (or the equivalent in non-Debian
distros) to get the precise package version.
More information about the devel