Bläddra i källkod

Fix typo and formatting in --prometheus documentation

Lionel Nicolas 4 år sedan
förälder
incheckning
c42cd844de
3 ändrade filer med 5 tillägg och 5 borttagningar
  1. 3 2
      README.turnserver
  2. 1 2
      man/man1/turnserver.1
  3. 1 1
      src/apps/relay/mainrelay.c

+ 3 - 2
README.turnserver

@@ -281,8 +281,9 @@ Flags:
 			check: across the session, all requests must have the same
 			check: across the session, all requests must have the same
 			main ORIGIN attribute value (if the ORIGIN was
 			main ORIGIN attribute value (if the ORIGIN was
 			initially used by the session).
 			initially used by the session).
- --prometheus		Enable prometheus metrics. By default it is
-			disabled. Would listen on port 9641 unther the path /metrics
+
+--prometheus		Enable prometheus metrics. By default it is
+			disabled. Would listen on port 9641 under the path /metrics
 			also the path / on this port can be used as a health check
 			also the path / on this port can be used as a health check
 
 
 -h			Help.
 -h			Help.

+ 1 - 2
man/man1/turnserver.1

@@ -422,12 +422,11 @@ The flag that sets the origin consistency
 check: across the session, all requests must have the same
 check: across the session, all requests must have the same
 main ORIGIN attribute value (if the ORIGIN was
 main ORIGIN attribute value (if the ORIGIN was
 initially used by the session).
 initially used by the session).
-.RS
 .TP
 .TP
 .B
 .B
 \fB\-\-prometheus\fP
 \fB\-\-prometheus\fP
 Enable prometheus metrics. By default it is
 Enable prometheus metrics. By default it is
-disabled. Would listen on port 9641 unther the path /metrics
+disabled. Would listen on port 9641 under the path /metrics
 also the path / on this port can be used as a health check
 also the path / on this port can be used as a health check
 .RE
 .RE
 .TP
 .TP

+ 1 - 1
src/apps/relay/mainrelay.c

@@ -557,7 +557,7 @@ static char Usage[] = "Usage: turnserver [options]\n"
 "						The connection string has the same parameters as redis-userdb connection string.\n"
 "						The connection string has the same parameters as redis-userdb connection string.\n"
 #endif
 #endif
 #if !defined(TURN_NO_PROMETHEUS)
 #if !defined(TURN_NO_PROMETHEUS)
-" --prometheus					Enable prometheus metrics. It is disabled by default. If it is enabled it will listen on port 9641 unther the path /metrics\n"
+" --prometheus					Enable prometheus metrics. It is disabled by default. If it is enabled it will listen on port 9641 under the path /metrics\n"
 "						also the path / on this port can be used as a health check\n"
 "						also the path / on this port can be used as a health check\n"
 #endif
 #endif
 " --use-auth-secret				TURN REST API flag.\n"
 " --use-auth-secret				TURN REST API flag.\n"