From 9a0d9d8c5da8665a80226164df650b2eb50e3749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Tue, 8 Dec 2020 11:07:53 +0100 Subject: [PATCH] Replace new-timestamp_format=>new-timestamp-format --- ChangeLog | 2 +- README.turnserver | 2 +- man/man1/turnserver.1 | 2 +- src/apps/relay/mainrelay.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 31fe1b7..7c0acdb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,7 +15,7 @@ Version 4.5.2 'dan Eider': * Add support for proxy protocol V1 - merge PR #618 (by Paul Wayper) * Print full date and time in logs - * Add new options: "new-log-timestamp" and "new-timestamp_format" + * Add new options: "new-log-timestamp" and "new-timestamp-format" - merge PR #599 (by Cédric Krier) * Do not use FIPS and remove hardcode OPENSSL_VERSION_NUMBER with LibreSSL - update Docker mongoDB and fix with workaround the missing systemctl diff --git a/README.turnserver b/README.turnserver index 4e773c1..0468a09 100644 --- a/README.turnserver +++ b/README.turnserver @@ -227,7 +227,7 @@ Flags: --new-log-timestamp Enable full ISO-8601 timestamp in all logs. ---new-timestamp_format Set timestamp format (in strftime(1) format) +--new-timestamp-format Set timestamp format (in strftime(1) format) --secure-stun Require authentication of the STUN Binding request. By default, the clients are allowed anonymous access to the STUN Binding functionality. diff --git a/man/man1/turnserver.1 b/man/man1/turnserver.1 index 6a8941e..7464114 100644 --- a/man/man1/turnserver.1 +++ b/man/man1/turnserver.1 @@ -342,7 +342,7 @@ This option can be used, for example, together with the logrotate tool. Enable full ISO\-8601 timestamp in all logs. .TP .B -\fB\-\-new\-timestamp_format\fP +\fB\-\-new\-timestamp\-format\fP Set timestamp format (in \fBstrftime\fP(1) format) .TP .B diff --git a/src/apps/relay/mainrelay.c b/src/apps/relay/mainrelay.c index d0134f2..ff35729 100644 --- a/src/apps/relay/mainrelay.c +++ b/src/apps/relay/mainrelay.c @@ -604,7 +604,7 @@ static char Usage[] = "Usage: turnserver [options]\n" " name will be constructed as-is, without PID and date appendage.\n" " This option can be used, for example, together with the logrotate tool.\n" " --new-log-timestamp Enable full ISO-8601 timestamp in all logs.\n" -" --new-timestamp_format Set timestamp format (in strftime(1) format)\n" +" --new-timestamp-format Set timestamp format (in strftime(1) format)\n" " --stale-nonce[=] Use extra security with nonce value having limited lifetime (default 600 secs).\n" " --max-allocate-lifetime Set the maximum value for the allocation lifetime. Default to 3600 secs.\n" " --channel-lifetime Set the lifetime for channel binding, default to 600 secs.\n" @@ -904,7 +904,7 @@ static const struct myoption long_options[] = { { "syslog", optional_argument, NULL, SYSLOG_OPT }, { "simple-log", optional_argument, NULL, SIMPLE_LOG_OPT }, { "new-log-timestamp", optional_argument, NULL, NEW_LOG_TIMESTAMP_OPT }, - { "new-timestamp_format", required_argument, NULL, NEW_TIMESTAMP_FORMAT_OPT }, + { "new-timestamp-format", required_argument, NULL, NEW_TIMESTAMP_FORMAT_OPT }, { "aux-server", required_argument, NULL, AUX_SERVER_OPT }, { "udp-self-balance", optional_argument, NULL, UDP_SELF_BALANCE_OPT }, { "alternate-server", required_argument, NULL, ALTERNATE_SERVER_OPT },