ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/xdefaults.C
(Generate patch)

Comparing rxvt-unicode/src/xdefaults.C (file contents):
Revision 1.166 by root, Tue Jun 5 19:32:29 2012 UTC vs.
Revision 1.167 by root, Tue Jun 5 22:23:07 2012 UTC

447 + (optList_isBool (i) ? 0 : 2)), 447 + (optList_isBool (i) ? 0 : 2)),
448 (optList[i].arg ? optList[i].arg : ""), 448 (optList[i].arg ? optList[i].arg : ""),
449 (optList_isBool (i) ? "turn on/off " : ""), 449 (optList_isBool (i) ? "turn on/off " : ""),
450 optList[i].desc); 450 optList[i].desc);
451 } 451 }
452
453#if ENABLE_PERL
454 rxvt_perl.init (this);
455 rxvt_perl.usage (this, 1);
456#endif
457
452 rxvt_log ("\n --help to list long-options"); 458 rxvt_log ("\n --help to list long-options");
453 break; 459 break;
454 460
455 case 2: /* full resource listing */ 461 case 2: /* full resource listing */
456 rxvt_log (" [options] [-e command args]\n\n" 462 rxvt_log (" [options] [-e command args]\n\n"
460 if (optList[i].kw != NULL) 466 if (optList[i].kw != NULL)
461 rxvt_log (" %s: %*s%s\n", 467 rxvt_log (" %s: %*s%s\n",
462 optList[i].kw, 468 optList[i].kw,
463 (INDENT - strlen (optList[i].kw)), "", /* XXX */ 469 (INDENT - strlen (optList[i].kw)), "", /* XXX */
464 (optList_isBool (i) ? "boolean" : optList[i].arg)); 470 (optList_isBool (i) ? "boolean" : optList[i].arg));
471
472#if ENABLE_PERL
473 rxvt_perl.init (this);
474 rxvt_perl.usage (this, 2);
475#endif
476
465 rxvt_log ("\n -help to list options"); 477 rxvt_log ("\n -help to list options");
466 break; 478 break;
467 } 479 }
468
469#if ENABLE_PERL
470 if (type) // do not initialise perl for type == 0, as perl does not have "short" options
471 {
472 rxvt_perl.init (this);
473 rxvt_perl.usage (type);
474 }
475#endif
476 480
477 rxvt_log ("\n\n"); 481 rxvt_log ("\n\n");
478 rxvt_exit_failure (); 482 rxvt_exit_failure ();
479} 483}
480 484

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines