Merge pull request #440 from mrdeep1/coap-server-doc

coap-server: Correct man and help documentation
This commit is contained in:
obgm authored and GitHub committed 2020-01-15 17:52:35 +01:00
commit 0a5bf521b4
2 files changed
+7 -10

No files matched your search

+2 -2
View File
@@ -906,7 +906,7 @@ usage( const char *program, const char *version) {
"\t\t[-A address] [-N]\n"
"\t\t[[-h hint] [-i match_identity_file] [-k key]\n"
"\t\t[-s match_psk_sni_file]]\n"
"\t\t[[-c certfile] [-C cafile] [-n] [-R root_cafile]]\n"
"\t\t[[-c certfile] [-C cafile] [-n] [-R root_cafile]\n"
"\t\t[-S match_pki_sni_file]]\n"
"General Options\n"
"\t-d max \t\tAllow dynamic creation of up to a total of max\n"
@@ -921,7 +921,7 @@ usage( const char *program, const char *version) {
"\t \t\t(for debugging only)\n"
"\t-p port\t\tListen on specified port\n"
"\t-v num \t\tVerbosity level (default 3, maximum is 9). Above 7,\n"
"\t \t\tthere is increased verbosity in GnuTLS logging\n"
"\t \t\tthere is increased verbosity in GnuTLS and OpenSSL logging\n"
"\t-A address\tInterface address to bind to\n"
"\t-N \t\tMake \"observe\" responses NON-confirmable. Even if set\n"
"\t \t\tevery fifth response will still be sent as a confirmable\n"
+5 -8
View File
@@ -18,11 +18,8 @@ SYNOPSIS
[*-A* address] [*-N*]
[[*-h* hint] [*-i* match_identity_file] [*-k* key]
[*-s* match_psk_sni_file]]
[[*-c* certfile] [*-n*] [*-C* cafile] [*-R* root_cafile]]
[*-S* match_pki_sni_file]]
[[*-k* key] [*-h* hint]]
[[*-c* certfile] [*-n*] [*-C* cafile] [*-R* root_cafile]
[*-S* match_sni_file]]
[*-S* match_pki_sni_file]]
DESCRIPTION
-----------
@@ -57,11 +54,11 @@ OPTIONS - General
The verbosity level to use (default 3, maximum is 9). Above 7, there is
increased verbosity in GnuTLS and OpenSSL logging.
*-A* addr::
The local address of the interface which the server has to listen.
*-A* address::
The local address of the interface which the server has to listen on.
*-N* ::
Send NON-confirmable message for \"observe\" responses. If option *-N* is
Send NON-confirmable message for "observe" responses. If option *-N* is
not specified, a confirmable response will be sent. Even if set, every
fifth response will still be sent as a confirmable response
(RFC 7641 requirement).
@@ -110,7 +107,7 @@ OPTIONS - PKI
have the server support both PSK and PKI.
*-n* ::
Disable the requirement for clients to have defined client certificates
Disable the requirement for clients to have defined client certificates.
*-C* cafile::
PEM file containing the CA Certificate that was used to sign the certfile