[PATCH 1/6] main: Always print version, drop -V option

Timo Juhani Lindfors timo.lindfors at iki.fi
Thu Sep 1 00:34:09 CEST 2011

Tormod Volden <lists.tormod at gmail.com> writes:
> the version among all the output. Is there a standard for the
> --version output format?

"dfu-programmer 0.5.1\n"

is at least fine by help2man. Source code has

# The first line of the --version information is assumed to be in one 
# of the following formats:                                           
#   <version>                                                         
#   <program> <version>                                               
#   {GNU,Free} <program> <version>                                    
#   <program> ({GNU,Free} <package>) <version>                        
#   <program> - {GNU,Free} <package> <version>                        
# and separated from any copyright/author details by a blank line.    


More information about the devel mailing list