Commit 022f12d1 022f12d1989d431ebd3c959b6b0d5a1116ec7116 by Sergey Poznyakoff

(daemon option group): New option --transcript.

1 parent 6f00e1af
......@@ -143,6 +143,8 @@ static struct argp_option mu_daemon_argp_option[] = {
"Listen on specified port number", 0},
{"timeout", 't', "NUMBER", 0,
"Set idle timeout value to NUMBER seconds", 0},
{"transcript", 'x', NULL, 0,
"output session transcript via syslog", 0},
{ NULL, 0, NULL, 0, NULL, 0 }
};
......@@ -481,6 +483,10 @@ mu_daemon_argp_parser (int key, char *arg, struct argp_state *state)
case 't':
p->timeout = strtoul (arg, NULL, 10);
break;
case 'x':
p->transcript = 1;
break;
default:
return ARGP_ERR_UNKNOWN;
......