… | |
… | |
407 | rxvt_log (" [-help] [--help]\n"); |
407 | rxvt_log (" [-help] [--help]\n"); |
408 | |
408 | |
409 | for (col = 1, i = 0; i < optList_size; i++) |
409 | for (col = 1, i = 0; i < optList_size; i++) |
410 | if (optList[i].desc != NULL) |
410 | if (optList[i].desc != NULL) |
411 | { |
411 | { |
412 | int len = 0; |
412 | int len = 0; |
413 | |
413 | |
414 | if (!optList_isBool (i)) |
414 | if (!optList_isBool (i)) |
415 | { |
415 | { |
416 | len = optList_strlen (i); |
416 | len = optList_strlen (i); |
417 | if (len > 0) |
417 | if (len > 0) |
… | |
… | |
543 | */ |
543 | */ |
544 | |
544 | |
545 | if (optList[entry].doff != -1) |
545 | if (optList[entry].doff != -1) |
546 | rs[optList[entry].doff] = flag == resval_on && argv[i+1] |
546 | rs[optList[entry].doff] = flag == resval_on && argv[i+1] |
547 | ? argv[++i] : resval_undef; |
547 | ? argv[++i] : resval_undef; |
548 | |
|
|
549 | if (optList[entry].doff == Rs_color + Color_tint) printf ("doff %d is %s\n",optList[entry].doff,rs[optList[entry].doff]);//D |
|
|
550 | } |
548 | } |
551 | else |
549 | else |
552 | { /* boolean value */ |
550 | { /* boolean value */ |
553 | set_option (optList[entry].flag & Optflag_mask, flag == resval_on); |
551 | set_option (optList[entry].flag & Optflag_mask, flag == resval_on); |
554 | |
552 | |