+ else if(strcmp(argv[i], "-b") == 0) {
+ no_blink = 1;
+ i++;
+ }
+
+ else if(strcmp(argv[i], "-l") == 0) {
+ check_opt(argc, argv, i, 1, "<maximum number of lines>");
+ nb_lines_max = atoi(argv[i+1]);
+ i += 2;
+ }
+
+ else if(strcmp(argv[i], "-t") == 0) {
+ check_opt(argc, argv, i, 1, "<color theme number>");
+ theme = atoi(argv[i+1]);
+ i += 2;
+ }
+
+ else {
+ cerr << "Selector version " << VERSION
+ << endl
+ << "Written by Francois Fleuret <francois@fleuret.org>"
+ << endl
+ << argv[0]
+ << " [-h]"
+ << " [-b]"
+ << " [-v]"
+ << " [-t <color theme number>]"
+ << " [-o <output filename>]"
+ << " [-s <pattern separator>]"
+ << " [-l <max number of lines>]"
+ << " -f <input filename>"
+ << endl;
+ if(strcmp(argv[i], "-h") == 0) {
+ exit(0);
+ } else {
+ exit(1);
+ }
+ }
+ }
+
+ if(!input_filename[0]) {
+ cerr << "You must specify a input file with -f." << endl;
+ exit(1);