mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-28 17:47:09 +03:00
added -A to usage output
This commit is contained in:
1 parent
40de2a0c6b
commit
5a7e5711c5
1 file changed
+3
-1
+3
-1
@@ -374,10 +374,12 @@ usage( const char *program, const char *version) {
|
||||
|
||||
fprintf( stderr, "%s v%s -- a small CoAP implementation\n"
|
||||
"(c) 2010-2012 Olaf Bergmann <bergmann@tzi.org>\n\n"
|
||||
"usage: %s [-b num] [-B seconds] [-g group] [-m method] [-N] [-o file]\n"
|
||||
"usage: %s [-A type...] [-b num] [-B seconds] [-g group] [-m method] [-N] [-o file]\n"
|
||||
"\t\t[-P addr:[port]] [-p port] [-s duration] [-t type...] [-v num]\n"
|
||||
"\t\t[-O num,text] [-T string] URI\n\n"
|
||||
"\tURI can be an absolute or relative coap URI,\n"
|
||||
"\t-A type...\taccepted media types as comma-separated list of\n"
|
||||
"\t\t\tsymbolic or numeric values\n"
|
||||
"\t-b size\t\tblock size to be used in GET/PUT/POST requests\n"
|
||||
"\t \t\t(value must be a multiple of 16 not larger than 1024)\n"
|
||||
"\t-B seconds\tbreak operation after waiting given seconds (default is 90)\n"
|
||||
|
||||
Reference in new issue
Block a user