bin: conform to GNU Coding Standards for --version

* bin/common_setup.cc: Print the version number after the parentheses.
This commit is contained in:
Alexandre Duret-Lutz 2018-06-29 20:53:46 +02:00
parent 4e8b35d7ca
commit 04d05104fa

View file

@ -33,7 +33,7 @@ static void
display_version(FILE *stream, struct argp_state*) display_version(FILE *stream, struct argp_state*)
{ {
fputs(program_name, stream); fputs(program_name, stream);
fputs(" (" PACKAGE_STRING ")\n\ fputs(" (" PACKAGE_NAME ") " PACKAGE_VERSION "\n\
\n\ \n\
Copyright (C) 2018 Laboratoire de Recherche et Développement de l'Epita.\n\ Copyright (C) 2018 Laboratoire de Recherche et Développement de l'Epita.\n\
License GPLv3+: \ License GPLv3+: \