MCPcopy Create free account
hub / github.com/OSSystems/EasySplash / print_usage

Function print_usage

src/main.cpp:42–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42void print_usage(char const *p_program_name)
43{
44 char const *help_text =
45 " -h --help display this usage information and exit\n"
46 " -i --zipfile zipfile with animation to play\n"
47 " -v --loglevel minimum levels messages must have to be logged\n"
48 " -n --non-realtime Run in non-realtime mode (animation advances depending\n"
49 " on the percentage value from the ctl application)\n"
50 ;
51
52 std::cout << "Usage: " << p_program_name << " [OPTION]...\n";
53 std::cout << help_text;
54}
55
56
57} // unnamed namespace end

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected