commit 2ec7c07fa273a83e06dc2b963f31894f39b5361a
parent 1657b8961d367ce18a26f909ed76d231c417cdba
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 28 Jul 2012 00:34:36 +0200
prepare the way for --default-last-active-*
Diffstat:
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/irctk.c b/irctk.c
@@ -78,15 +78,20 @@ static struct argp_option options[] = {
"Don't join other channels than those specified on the command-line, don't"
" re-join", MISC },
- /*{"synchronous", 's', 0, 0,
- "Will wait for a multiline, blankline-terminated answer on stdin to all lines passed on stdout, and will bufferize activity before that", COM_MODE }, // TODO*/
-
{"default-always-first", '0', 0, 0,
"Post messages to the first specified channel by default",
CHANNEL_SELECTION},
{"default-last-active", 'a', 0, 0,
"Post messages to the last active channel by default (default)",
CHANNEL_SELECTION},
+ /*
+ {"default-last-active-delimited", 'd', 0, 0,
+ "Like -a but messages are read in atomic groups starting and ending with a blank line."
+ CHANNEL_SELECTION}, // TODO
+ {"default-last-active-delimited-queued", 'D', 0, 0,
+ "Like -d but require one message group for each outputted message."
+ CHANNEL_SELECTION}, // TODO
+ */
{"default-last-posted", 'p', 0, 0,
"Post messages to the last posted channel by default",
CHANNEL_SELECTION},
@@ -99,9 +104,8 @@ static struct argp_option options[] = {
CHANNEL_SELECTION},
{"reply", 'r', 0, 0,
- "When inferring a destination channel automatically with --last-active,"
- " also infer a destination nick, and prefix lines with this nick (blank"
- " line indicates the end of an answer)",
+ "When inferring a destination channel with --default-last-active*,"
+ " also infer a destination nick, and prefix lines with this nick",
BOT_OPTIONS},
{"filter", 'f', 0, 0,
"Only keep messages directly addressed to us (in private channel or with"