aboutsummaryrefslogtreecommitdiff
path: root/examples/cjson2cbor.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cjson2cbor.c')
-rw-r--r--examples/cjson2cbor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cjson2cbor.c b/examples/cjson2cbor.c
index eae78e1cf7a6..b67439902442 100644
--- a/examples/cjson2cbor.c
+++ b/examples/cjson2cbor.c
@@ -7,7 +7,7 @@
/**
* This code demonstrates how cJSON (https://github.com/DaveGamble/cJSON)
- * callbacks can be used in conjuction with the streaming parser to translate
+ * callbacks can be used in conjunction with the streaming parser to translate
* JSON to CBOR. Please note that cbor_builder_* APIs are internal and thus
* subject to change.
*
@@ -111,7 +111,7 @@ void cjson_cbor_stream_decode(cJSON *source,
}
void usage(void) {
- printf("Usage: cjson [input JSON file]\n");
+ printf("Usage: cjson2cbor [input JSON file]\n");
exit(1);
}