- switch (c) {
- case 'v': verbose=1; break;
- case 'd': db=optarg; break;
- case 'U': username=optarg; break;
- case 'W': pass_prompt=1; break;
- case 'H': host=optarg; break;
- case 'P': port=optarg; break;
- case 'h': long_usage_bool=1; break;
- case 'i': index=1; break;
- case 'e': export=1; break;
- case 'I': import=1; break;
- case 't': threads=atoi(optarg); break;
- case 'F': file=optarg; break;
- case 'T': tagsfile=optarg; break;
- case '?':
- default:
- short_usage(argv[0]);
- exit(EXIT_FAILURE);