ewmscp  ..
Variables
version.cpp File Reference

(v0.19-24-g0617ca1 with changes)

#include "Options.h"
#include "git-rev.h"
Include dependency graph for version.cpp:

Go to the source code of this file.

Variables

static options::withAction< options::single< bool > > versionOption ([](options::single< bool > &) { std::cout<< options::parser::fGetInstance() ->fGetProgName()<< " "<< EWMSCP_VERSION<< " with "<< EWMSCP_EXTRAS<< " c++ "<< __VERSION__<< " at "<< __DATE__<< " "<< __TIME__<< "\n";std::cout<< "https://gitlab.desy.de/ewmscp/ewmscp/-/commit/"<< EWMSCP_COMMIT<< "\n";std::cout<< "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n";std::cout<< "This is free software: you are free to change and redistribute it.\n";std::cout<< "There is NO WARRANTY, to the extent permitted by law.\n";std::cout<< "\nWritten by Juergen Hannappel.\n";exit(EXIT_SUCCESS);}, 'V', "version", "print version and exit sucessfully")
 

Variable Documentation

◆ versionOption

options::withAction<options::single<bool> > versionOption([](options::single< bool > &) { std::cout<< options::parser::fGetInstance() ->fGetProgName()<< " "<< EWMSCP_VERSION<< " with "<< EWMSCP_EXTRAS<< " c++ "<< __VERSION__<< " at "<< __DATE__<< " "<< __TIME__<< "\n";std::cout<< "https://gitlab.desy.de/ewmscp/ewmscp/-/commit/"<< EWMSCP_COMMIT<< "\n";std::cout<< "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n";std::cout<< "This is free software: you are free to change and redistribute it.\n";std::cout<< "There is NO WARRANTY, to the extent permitted by law.\n";std::cout<< "\nWritten by Juergen Hannappel.\n";exit(EXIT_SUCCESS);}, 'V', "version", "print version and exit sucessfully")
static