FACT++  1.0
void PrintVersion ( const char *  name)

Print version information about FACT++

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]). A possible leading "lt-"
    is removed.

Definition at line 573 of file dclient5.cc.

References PACKAGE_BUGREPORT, PACKAGE_STRING, and PACKAGE_URL.

Referenced by main().

574 {
575  cout <<
576  name << " - "PACKAGE_STRING"\n"
577  "\n"
578  "Written by Thomas Bretz et al.\n"
579  "\n"
580  "Report bugs to <"PACKAGE_BUGREPORT">\n"
581  "Home page: "PACKAGE_URL"\n"
582  "\n"
583  "Copyright (C) 2011 by the FACT Collaboration.\n"
584  "This is free software; see the source for copying conditions.\n"
585  << endl;
586 }
#define PACKAGE_BUGREPORT
#define PACKAGE_STRING
#define PACKAGE_URL

+ Here is the caller graph for this function: