rem: default: switch (options[indexptr].val) { case 1: usage(); exit(0); case 2: version(); exit(0); default: suggest_help(); exit(1); }
add: case 1: usage();
context: main(int argc, char *argv[]) { 	int argOption;	int indexptr = 0;	char * const * optargv = argv;	int i;	uint64 sleepTime = 0;	uint64 sleepTotal = 0; // in microseconds actually. 	struct option helpOption = { "help", no_argument, 0, 1 } ;	struct option versionOption = { "version", no_argument, 0, 2 } ;	struct option options[] = {	helpOption, versionOption, {0}	};	progName = argv[0]; // don't put this before or between structs! werrry bad things happen. ;)	while ((argOption = getopt_long(argc, optargv, "", options, &indexptr)) != -1) {			switch (argOption) { 			default:				switch (options[indexptr].val) {					case 1: // help						usage();						exit(0);					case 2: // version						version();						exit(0);					default:						suggest_help();						exit(1);				}				break;		}	}	if (argc - optind > 0) {		for ( i=1; i<argc; i++ ) {			if ((argv[i][0] >= '0') && (argv[i][0] <= '9')) {				sleepTime = process_arg(argv[i]);				sleepTotal += sleepTime;			} else {				warn_invalid(argv[optind]);				suggest_help();				exit(1);			}		}		go_sleep(sleepTotal);	} else {		usage();	}		return B_NO_ERROR;}