| 84 | } |
| 85 | |
| 86 | static void print_usage(const char * program_name) { |
| 87 | LOG_ERR("Usage: %s [options]\n", program_name); |
| 88 | LOG_ERR("\nOptions:\n"); |
| 89 | LOG_ERR(" --template <name> Analyze specific template from test suite (e.g., 'deepseek' or 'DeepSeek-V3.1')\n"); |
| 90 | LOG_ERR(" --template-file <path> Analyze custom template file\n"); |
| 91 | LOG_ERR(" --all Analyze all templates from test suite\n"); |
| 92 | LOG_ERR("\nExamples:\n"); |
| 93 | LOG_ERR(" %s --all\n", program_name); |
| 94 | LOG_ERR(" %s --template deepseek\n", program_name); |
| 95 | LOG_ERR(" %s --template-file my-template.jinja\n", program_name); |
| 96 | } |
| 97 | |
| 98 | static bool parse_options(int argc, char ** argv, analysis_options & opts) { |
| 99 | if (argc < 2) { |