mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
asterisk.c: Fix option warning for remote console.
Commit09e989f972
categorized the T option as not being compatible with remote consoles, but they do affect verbose messages with remote console. This fixes this. Resolves: #102 (cherry picked from commitcfae64a70d
)
This commit is contained in:
committed by
Asterisk Development Team
parent
cd2eafe588
commit
ca51a25056
@@ -3755,6 +3755,7 @@ int main(int argc, char *argv[])
|
||||
case 'r': /* remote */
|
||||
/*! \note Can ONLY be used with remote console */
|
||||
case 's': /* set socket path */
|
||||
case 'T': /* timestamp */
|
||||
case 'V': /* version */
|
||||
case 'v': /* verbose */
|
||||
case 'W': /* white background */
|
||||
@@ -3772,7 +3773,6 @@ int main(int argc, char *argv[])
|
||||
case 'i': /* init keys */
|
||||
case 'n': /* no color */
|
||||
case 'p': /* high priority */
|
||||
case 'T': /* timestamp */
|
||||
case 't': /* cache record files */
|
||||
case 'U': /* run user */
|
||||
fprintf(stderr, "'%c' option is not compatible with remote console mode and has no effect.\n", c);
|
||||
|
Reference in New Issue
Block a user