-f, --logfile=FILE Log messages to FILE.\n\
-t, --no-timestamp When logging to a file, don't emit timestamps.\n\
-w, --warnings Show warnings when running commands.\n\
-f, --logfile=FILE Log messages to FILE.\n\
-t, --no-timestamp When logging to a file, don't emit timestamps.\n\
-w, --warnings Show warnings when running commands.\n\
{ "logfile", OPTF_ARGREQ, 0, 'f' },
{ "no-timestamp", 0, 0, 't' },
{ "warnings", 0, 0, 'w' },
{ "logfile", OPTF_ARGREQ, 0, 'f' },
{ "no-timestamp", 0, 0, 't' },
{ "warnings", 0, 0, 'w' },
{ "pidfile", OPTF_ARGREQ, 0, 'P' },
{ 0, 0, 0, 0 }
};
{ "pidfile", OPTF_ARGREQ, 0, 'P' },
{ 0, 0, 0, 0 }
};
- i = mdwopt(argc, argv, "+hvuDU:G:d:a:sp:S:lwf:nP:t", opts, 0, 0, 0);
+ i = mdwopt(argc, argv, "+hvuDU:G:d:a:sp:S:lwW:f:nP:t", opts, 0, 0, 0);
if (!(f & f_noinput) && optind == argc) {
selbuf_init(&bu, &sel, STDIN_FILENO, uline, &bu);
selbuf_init(&bs, &sel, fd, sline, &bs);
if (!(f & f_noinput) && optind == argc) {
selbuf_init(&bu, &sel, STDIN_FILENO, uline, &bu);
selbuf_init(&bs, &sel, fd, sline, &bs);