| 40 | |
| 41 | |
| 42 | void 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 |