equal
deleted
inserted
replaced
81 |
81 |
82 // XXX: shouldn't be accessing directly |
82 // XXX: shouldn't be accessing directly |
83 if (module->desc->config_options) { |
83 if (module->desc->config_options) { |
84 const struct config_option *opt; |
84 const struct config_option *opt; |
85 |
85 |
86 for (opt = module->desc->config_options; opt->name && opt->type; opt++) { |
86 for (opt = module->desc->config_options; opt->name; opt++) { |
87 printf(" --config %s:%s:%s\t\t%s\n", module->info.name, opt->name, opt->description, opt->help); |
87 printf(" --config %s:%s:%s\t\t%s\n", module->info.name, opt->name, "xxx", opt->help); |
88 } |
88 } |
89 |
89 |
90 } else { |
90 } else { |
91 printf("\t???\n"); |
91 printf("\t???\n"); |
92 } |
92 } |