Merge pull request #380 from mrdeep1/0hex_doc

Update documentation for coap-client -O option
This commit is contained in:
obgm authored and GitHub committed 2019-07-26 15:25:25 +02:00
commit 88e81f59c2
2 files changed
+5 -2

No files matched your search

+3 -1
View File
@@ -648,7 +648,9 @@ usage( const char *program, const char *version) {
"\t \t\t(default is %d)\n"
"\t-K interval\tsend a ping after interval seconds of inactivity\n"
"\t-N \t\tSend NON-confirmable message\n"
"\t-O num,text\tAdd option num with contents text to request\n"
"\t-O num,text\tAdd option num with contents text to request. If the\n"
"\t \t\ttext begins with 0x, then the hex text is converted to\n"
"\t \t\tbinary data\n"
"\t-P addr[:port]\tUse proxy (automatically adds Proxy-Uri option to\n"
"\t \t\trequest)\n"
"\t-T token\tInclude specified token\n"
+2 -1
View File
@@ -117,7 +117,8 @@ OPTIONS - General
confirmable message will be sent.
*-O* num,text::
Add option 'num' with contents of 'text' to the request.
Add option 'num' with contents of 'text' to the request. If the text begins
with 0x, then the hex text is converted to binary data.
*-P* addr[:port]::
Address (and port) for proxy to use (automatically adds Proxy-Uri option