Lines Matching defs:opt
460 getit(struct get_options *opt, const char *name, int argc, char **argv)
466 if(opt->long_flag == -1 && (opt->short_flag == 1 || opt->terse_flag == 1))
467 opt->long_flag = 0;
468 if(opt->short_flag == -1 && (opt->long_flag == 1 || opt->terse_flag == 1))
469 opt->short_flag = 0;
470 if(opt->terse_flag == -1 && (opt->long_flag == 1 || opt->short_flag == 1))
471 opt->terse_flag = 0;
472 if(opt->long_flag == 0 && opt->short_flag == 0 && opt->terse_flag == 0)
473 opt->short_flag = 1;
475 if (opt->terse_flag)
484 if(opt->short_flag) {
490 if(opt->column_info_string == NULL) {
491 if(opt->long_flag)
496 ret = setup_columns(&data, opt->column_info_string);
516 get_entry(struct get_options *opt, int argc, char **argv)
518 return getit(opt, "get", argc, argv);
522 list_princs(struct list_options *opt, int argc, char **argv)
526 return getit((struct get_options*)opt, "list", argc, argv);