FACT++
1.0
|
|
privatevirtual |
Print version information about the program and package.
The program name is taken from fName. If a leading "lt-" is found, it is removed. This is useful if the program was build and run using libtool.
The package name is taken from the define PACKAGE_STRING. If it is not defined (like automatically done by autoconf) no package information is printed. The same is true for PACKAGE_URL and PACKAGE_BUGREPORT.
From help2man:
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. Handle multi-line bug reporting sections of the form:
//! - Report <program> bugs to <addr> //! - GNU <package> home page: <url> //! - ... //!
@param name name of the program (usually argv[0]).
Definition at line 1435 of file Configuration.cc.
References fName, fPrintVersion, PACKAGE_BUGREPORT, PACKAGE_STRING, and PACKAGE_URL.
Referenced by Parse(), and PrintUsage().