Update documentation for coap-client -O option

examples/client.c
man/coap-client.txt.in

Update information for the -O option to indicate that a leading 0x causes
the hex text to be included as binary data.
This commit is contained in:
Jon Shallow committed 2019-07-26 12:17:53 +02:00
1 parent f2ce60e185
commit c46e6a6748
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"