Skip to content

Commit 67d20b8

Browse files
committed
asterisk.c: Fix option warning for remote console.
Commit 09e989f categorized the T option as not being compatible with remote consoles, but they do affect verbose messages with remote console. This fixes this. Resolves: asterisk#102
1 parent fd98c6c commit 67d20b8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/asterisk.8

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ then move them into the final location when done.
196196
.TP
197197
\-T
198198
Add timestamp to all non-command related output going to the console
199-
when running with verbose and/or logging to the console. Can only be
200-
used at startup (e.g. not with remote console mode).
199+
when running with verbose and/or logging to the console.
201200
.TP
202201
\-U \fIuser\fR
203202
Run as user \fIuser\fR instead of the

main/asterisk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3755,6 +3755,7 @@ int main(int argc, char *argv[])
37553755
case 'r': /* remote */
37563756
/*! \note Can ONLY be used with remote console */
37573757
case 's': /* set socket path */
3758+
case 'T': /* timestamp */
37583759
case 'V': /* version */
37593760
case 'v': /* verbose */
37603761
case 'W': /* white background */
@@ -3772,7 +3773,6 @@ int main(int argc, char *argv[])
37723773
case 'i': /* init keys */
37733774
case 'n': /* no color */
37743775
case 'p': /* high priority */
3775-
case 'T': /* timestamp */
37763776
case 't': /* cache record files */
37773777
case 'U': /* run user */
37783778
fprintf(stderr, "'%c' option is not compatible with remote console mode and has no effect.\n", c);

0 commit comments

Comments
 (0)