… | |
… | |
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 | |
… | |
… | |
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 | #ifdef HAVE_AFTERIMAGE |
273 | STRG (Rs_blendtype, "blendType", "blt", "string", "background image blending type - alpha, tint, etc..."), |
276 | STRG (Rs_blendtype, "blendType", "blt", "string", "background image blending type - alpha, tint, etc..."), |
274 | #endif |
277 | #endif |
|
|
278 | #ifndef NO_RESOURCES |
|
|
279 | RINFO ("xrm", "string"), |
|
|
280 | #endif |
|
|
281 | #ifdef KEYSYM_RESOURCE |
|
|
282 | RINFO ("keysym.sym", "keysym"), |
|
|
283 | #endif |
275 | INFO ("e", "command arg ...", "command to execute") |
284 | INFO ("e", "command arg ...", "command to execute") |
276 | }; |
285 | }; |
277 | |
286 | |
278 | #undef INFO |
287 | #undef INFO |
|
|
288 | #undef RINFO |
279 | #undef STRG |
289 | #undef STRG |
280 | #undef RSTRG |
290 | #undef RSTRG |
281 | #undef SWCH |
291 | #undef SWCH |
282 | #undef BOOL |
292 | #undef BOOL |
283 | |
293 | |
… | |
… | |
453 | if (optList[i].kw != NULL) |
463 | if (optList[i].kw != NULL) |
454 | rxvt_log (" %s: %*s%s\n", |
464 | rxvt_log (" %s: %*s%s\n", |
455 | optList[i].kw, |
465 | optList[i].kw, |
456 | (INDENT - strlen (optList[i].kw)), "", /* XXX */ |
466 | (INDENT - strlen (optList[i].kw)), "", /* XXX */ |
457 | (optList_isBool (i) ? "boolean" : optList[i].arg)); |
467 | (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"); |
468 | rxvt_log ("\n -help to list options"); |
464 | break; |
469 | break; |
465 | } |
470 | } |
466 | |
471 | |
467 | rxvt_log ("\n\n"); |
472 | rxvt_log ("\n\n"); |