24 #include <lal/LALStdlib.h>
32 int main(
int argc,
char **argv) {
36 if ( argc == 2 && ( strcmp( argv[1],
"-v" ) == 0 || strcmp( argv[1],
"-verbose" ) == 0 || strcmp( argv[1],
"--verbose" ) == 0 ) ) {
38 }
else if ( argc > 1 ) {
40 "Usage: %s [-h|--help] [-v|--verbose]\n\n"
41 "Print version information for LAL and upstream LALSuite components\n\n"
43 " --help display this messgage and exit\n"
44 " --verbose display verbose version information\n",
47 if ( strcmp( argv[1],
"-h" ) == 0 || strcmp( argv[1],
"-help" ) == 0 || strcmp( argv[1],
"--help" ) == 0 ) {
void LALCheckMemoryLeaks(void)
const LALVCSInfoList lalVCSInfoList
NULL-terminated list of VCS and build information for LAL and its dependencies
char * XLALVCSInfoString(const LALVCSInfoList vcs_list, const int verbose, const char *prefix)
Generate a multi-line string containing VCS and build information for a library and its dependencies,...
#define XLAL_CHECK_MAIN(assertion,...)
Macro to test an assertion and invoke a failure if it is not true in a C main() routine.
@ XLAL_EFUNC
Internal function call failed bit: "or" this with existing error number.
int main(int argc, char **argv)