aboutsummaryrefslogtreecommitdiff
path: root/examples/cjson2cbor.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2024-05-03 22:27:44 +0000
committerEd Maste <emaste@FreeBSD.org>2024-05-03 22:27:44 +0000
commit5f50d6b344f0d272a12c6f5598dde05bbe025e97 (patch)
tree47a9effcc3ced0b1f79666234549223970504012 /examples/cjson2cbor.c
parent058aa793d837f38f112acc154816397251019319 (diff)
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);
}