#include <ers/ers.hpp>
#include <string.h>
Go to the source code of this file.
◆ main()
int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 30 of file ers_config.cxx.
31{
32 if ( argc > 1 )
33 {
34 if ( !strcmp( argv[1], "--help" )
35 || !strcmp( argv[1], "-h" ) )
36 {
38 }
39 else
40 {
42 }
43 }
44 else
45 {
47 }
48 return 0;
49}
static StreamManager & instance()
return the singleton
◆ print_description()
void print_description |
( |
| ) |
|
Definition at line 17 of file ers_config.cxx.
18{
19 std::cout << "Description:" << std::endl;
20 std::cout << "\tPrints ERS streams configuration in the current shell." << std::endl;
21}
◆ print_usage()
Definition at line 23 of file ers_config.cxx.
24{
25 std::cout << "Usage: ers_pc [-h]|[--help]" << std::endl;
26 std::cout << "Options/Arguments:" << std::endl;
27 std::cout << "\t[-h]|[--help]\tprints this help screen." << std::endl;
28}