Lines Matching defs:opt
455 getit(struct get_options *opt, const char *name, int argc, char **argv)
461 if(opt->long_flag == -1 && (opt->short_flag == 1 || opt->terse_flag == 1))
462 opt->long_flag = 0;
463 if(opt->short_flag == -1 && (opt->long_flag == 1 || opt->terse_flag == 1))
464 opt->short_flag = 0;
465 if(opt->terse_flag == -1 && (opt->long_flag == 1 || opt->short_flag == 1))
466 opt->terse_flag = 0;
467 if(opt->long_flag == 0 && opt->short_flag == 0 && opt->terse_flag == 0)
468 opt->short_flag = 1;
470 if (opt->terse_flag)
479 if(opt->short_flag) {
485 if(opt->column_info_string == NULL) {
486 if(opt->long_flag)
491 ret = setup_columns(&data, opt->column_info_string);
511 get_entry(struct get_options *opt, int argc, char **argv)
513 return getit(opt, "get", argc, argv);
517 list_princs(struct list_options *opt, int argc, char **argv)
523 return getit((struct get_options*)opt, "list", argc, argv);