src/nexus.c
changeset 120 576bab0a1c5a
parent 111 5a1ebffca81a
child 134 978041c1c04d
equal deleted inserted replaced
119:64f50072db9e 120:576bab0a1c5a
    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             }