diff options
author | David Robillard <d@drobilla.net> | 2024-11-22 20:31:04 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-22 20:31:04 -0500 |
commit | 5008e538ed0b73d90d7b3024569f8c27bfc8fc8c (patch) | |
tree | 890278229c615cdb8e836141a6ada5f2c22d986a | |
parent | e48f7655178c4c9358e1a34368a5a37783a3ecba (diff) | |
download | serd-5008e538ed0b73d90d7b3024569f8c27bfc8fc8c.tar.gz serd-5008e538ed0b73d90d7b3024569f8c27bfc8fc8c.tar.bz2 serd-5008e538ed0b73d90d7b3024569f8c27bfc8fc8c.zip |
Use more conventional command-line help formatting
-rw-r--r-- | src/serdi.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/serdi.c b/src/serdi.c index 9d0a8f44..23f27b95 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -85,20 +85,20 @@ print_usage(const char* const name, const bool error) static const char* const description = "Read and write RDF syntax.\n" "Use - for INPUT to read from standard input.\n\n" - " -a Write ASCII output.\n" - " -b Write output in blocks for performance.\n" - " -c PREFIX Chop PREFIX from matching blank node IDs.\n" - " -e Eat input one character at a time.\n" - " -f Fast and loose URI pass-through.\n" - " -h Display this help and exit.\n" - " -i SYNTAX Input syntax: turtle/ntriples/trig/nquads.\n" - " -l Lax (non-strict) parsing.\n" - " -o SYNTAX Output syntax: turtle/ntriples/nquads.\n" - " -p PREFIX Add PREFIX to blank node IDs.\n" - " -q Suppress all output except data.\n" - " -r ROOT_URI Keep relative URIs within ROOT_URI.\n" - " -s INPUT Parse INPUT as string (terminates options).\n" - " -v Display version information and exit.\n"; + " -a Write ASCII output\n" + " -b Write output in blocks for performance\n" + " -c PREFIX Chop PREFIX from matching blank node IDs\n" + " -e Eat input one character at a time\n" + " -f Fast and loose URI pass-through\n" + " -h Display this help and exit\n" + " -i SYNTAX Input syntax: turtle/ntriples/trig/nquads\n" + " -l Lax (non-strict) parsing\n" + " -o SYNTAX Output syntax: turtle/ntriples/nquads\n" + " -p PREFIX Add PREFIX to blank node IDs\n" + " -q Suppress all output except data\n" + " -r ROOT_URI Keep relative URIs within ROOT_URI\n" + " -s INPUT Parse INPUT as string (terminates options)\n" + " -v Display version information and exit\n"; FILE* const os = error ? stderr : stdout; fprintf(os, "%s", error ? "\n" : ""); |