… | |
… | |
46 | */ |
46 | */ |
47 | |
47 | |
48 | /* INFO () - descriptive information only */ |
48 | /* INFO () - descriptive information only */ |
49 | #define INFO(opt, arg, desc) \ |
49 | #define INFO(opt, arg, desc) \ |
50 | {0, Optflag_Info, -1, NULL, (opt), (arg), (desc)} |
50 | {0, Optflag_Info, -1, NULL, (opt), (arg), (desc)} |
|
|
51 | |
|
|
52 | #define RINFO(kw, arg) \ |
|
|
53 | {0, Optflag_Info, -1, (kw), NULL, (arg), NULL} |
51 | |
54 | |
52 | /* STRG () - command-line option, with/without resource */ |
55 | /* STRG () - command-line option, with/without resource */ |
53 | #define STRG(rsp, kw, opt, arg, desc) \ |
56 | #define STRG(rsp, kw, opt, arg, desc) \ |
54 | {0, 0, (rsp), (kw), (opt), (arg), (desc)} |
57 | {0, 0, (rsp), (kw), (opt), (arg), (desc)} |
55 | |
58 | |
… | |
… | |
267 | #endif |
270 | #endif |
268 | #if ISO_14755 |
271 | #if ISO_14755 |
269 | BOOL (Rs_iso14755, "iso14755", NULL, Opt_iso14755, 0, NULL), |
272 | BOOL (Rs_iso14755, "iso14755", NULL, Opt_iso14755, 0, NULL), |
270 | BOOL (Rs_iso14755_52, "iso14755_52", NULL, Opt_iso14755_52, 0, NULL), |
273 | BOOL (Rs_iso14755_52, "iso14755_52", NULL, Opt_iso14755_52, 0, NULL), |
271 | #endif |
274 | #endif |
272 | #ifdef HAVE_AFTERIMAGE |
275 | #ifndef NO_RESOURCES |
273 | STRG (Rs_blendtype, "blendType", "blt", "string", "background image blending type - alpha, tint, etc..."), |
276 | RINFO ("xrm", "string"), |
|
|
277 | #endif |
|
|
278 | #ifdef KEYSYM_RESOURCE |
|
|
279 | RINFO ("keysym.sym", "keysym"), |
274 | #endif |
280 | #endif |
275 | INFO ("e", "command arg ...", "command to execute") |
281 | INFO ("e", "command arg ...", "command to execute") |
276 | }; |
282 | }; |
277 | |
283 | |
278 | #undef INFO |
284 | #undef INFO |
|
|
285 | #undef RINFO |
279 | #undef STRG |
286 | #undef STRG |
280 | #undef RSTRG |
287 | #undef RSTRG |
281 | #undef SWCH |
288 | #undef SWCH |
282 | #undef BOOL |
289 | #undef BOOL |
283 | |
290 | |
… | |
… | |
325 | "fade," |
332 | "fade," |
326 | #endif |
333 | #endif |
327 | #if defined(ENABLE_TRANSPARENCY) |
334 | #if defined(ENABLE_TRANSPARENCY) |
328 | "transparent," |
335 | "transparent," |
329 | "tint," |
336 | "tint," |
330 | #endif |
|
|
331 | #if HAVE_AFTERIMAGE |
|
|
332 | "afterimage," |
|
|
333 | #endif |
337 | #endif |
334 | #if HAVE_PIXBUF |
338 | #if HAVE_PIXBUF |
335 | "pixbuf," |
339 | "pixbuf," |
336 | #endif |
340 | #endif |
337 | #if defined(USE_XIM) |
341 | #if defined(USE_XIM) |
… | |
… | |
453 | if (optList[i].kw != NULL) |
457 | if (optList[i].kw != NULL) |
454 | rxvt_log (" %s: %*s%s\n", |
458 | rxvt_log (" %s: %*s%s\n", |
455 | optList[i].kw, |
459 | optList[i].kw, |
456 | (INDENT - strlen (optList[i].kw)), "", /* XXX */ |
460 | (INDENT - strlen (optList[i].kw)), "", /* XXX */ |
457 | (optList_isBool (i) ? "boolean" : optList[i].arg)); |
461 | (optList_isBool (i) ? "boolean" : optList[i].arg)); |
458 | #ifdef KEYSYM_RESOURCE |
|
|
459 | rxvt_log (" " "keysym.sym" ": %*s%s\n", |
|
|
460 | (INDENT - sizeof ("keysym.sym") + 1), "", /* XXX */ |
|
|
461 | "keysym"); |
|
|
462 | #endif |
|
|
463 | rxvt_log ("\n -help to list options"); |
462 | rxvt_log ("\n -help to list options"); |
464 | break; |
463 | break; |
465 | } |
464 | } |
466 | |
465 | |
467 | rxvt_log ("\n\n"); |
466 | rxvt_log ("\n\n"); |