aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-05 18:39:49 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit343124df71010055c2c1e6cdcadd13d23b2c013a (patch)
tree7c2de6a72021adaac89e9c4fa97e7cc5503e0657 /tools/console.c
parent530edb265fbbed20e6d3a6fd7a36461ff83d9b46 (diff)
downloadserd-343124df71010055c2c1e6cdcadd13d23b2c013a.tar.gz
serd-343124df71010055c2c1e6cdcadd13d23b2c013a.tar.bz2
serd-343124df71010055c2c1e6cdcadd13d23b2c013a.zip
[WIP] Add support for URI hex escape decoding
Diffstat (limited to 'tools/console.c')
-rw-r--r--tools/console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/console.c b/tools/console.c
index 057656d5..661e7ab4 100644
--- a/tools/console.c
+++ b/tools/console.c
@@ -241,6 +241,7 @@ serd_set_input_option(const ZixStringView name,
{"global", SERD_READ_GLOBAL},
{"generated", SERD_READ_GENERATED},
{"ordered", SERD_READ_ORDERED},
+ {"decoded", SERD_READ_DECODED},
{NULL, SERD_READ_LAX},
};
@@ -293,6 +294,7 @@ serd_set_output_option(const ZixStringView name,
static const OutputOption output_options[] = {
{"ascii", SERD_WRITE_ASCII},
{"contextual", SERD_WRITE_CONTEXTUAL},
+ {"escapes", SERD_WRITE_ESCAPES},
{"expanded", SERD_WRITE_EXPANDED},
{"lax", SERD_WRITE_LAX},
{"longhand", SERD_WRITE_LONGHAND},