diff --git a/docs/source/commands/peerchaincode.md b/docs/source/commands/peerchaincode.md index d5cae6ab447..95e11899c09 100644 --- a/docs/source/commands/peerchaincode.md +++ b/docs/source/commands/peerchaincode.md @@ -94,7 +94,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint --transient string Transient map of arguments in JSON encoding ``` @@ -130,7 +130,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint --transient string Transient map of arguments in JSON encoding ``` @@ -162,7 +162,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint --transient string Transient map of arguments in JSON encoding ``` @@ -192,7 +192,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint --transient string Transient map of arguments in JSON encoding ``` @@ -224,7 +224,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint --transient string Transient map of arguments in JSON encoding ``` @@ -256,7 +256,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint --transient string Transient map of arguments in JSON encoding ``` @@ -280,7 +280,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint --transient string Transient map of arguments in JSON encoding ``` @@ -317,7 +317,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint --transient string Transient map of arguments in JSON encoding ``` diff --git a/docs/source/commands/peerchannel.md b/docs/source/commands/peerchannel.md index 9c11491e77e..ba5ae603405 100644 --- a/docs/source/commands/peerchannel.md +++ b/docs/source/commands/peerchannel.md @@ -42,7 +42,7 @@ Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint Use "peer channel [command] --help" for more information about a command. ``` @@ -71,7 +71,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint ``` @@ -96,7 +96,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint ``` @@ -120,7 +120,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint ``` @@ -144,7 +144,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint ``` @@ -167,7 +167,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint ``` @@ -191,7 +191,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint ``` @@ -216,7 +216,7 @@ Global Flags: -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer. --tls Use TLS when communicating with the orderer endpoint - --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes + --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint ``` ## Example Usage diff --git a/peer/common/ordererenv.go b/peer/common/ordererenv.go index 4d60ba6f0e0..c6fd1bff903 100644 --- a/peer/common/ordererenv.go +++ b/peer/common/ordererenv.go @@ -76,5 +76,5 @@ func AddOrdererFlags(cmd *cobra.Command) { flags.DurationVarP(&connTimeout, "connTimeout", "", 3*time.Second, "Timeout for client to connect") flags.DurationVarP(&tlsHandshakeTimeShift, "tlsHandshakeTimeShift", "", 0, - "The amount of time to shift backwards for certificate expiration checks during TLS handshakes") + "The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint") }