summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-25 00:49:33 +0000
committerDavid Robillard <d@drobilla.net>2011-05-25 00:49:33 +0000
commit345e1bfbf8b1cf057f885d841e2bd58f758392d0 (patch)
tree602ae0067fab103b20466e72f78b3982d8ce7cd1 /src
parente3b01ec7c1b30b4a3b4bcfb34a77d66cf7e905f2 (diff)
downloadsord-345e1bfbf8b1cf057f885d841e2bd58f758392d0.tar.gz
sord-345e1bfbf8b1cf057f885d841e2bd58f758392d0.tar.bz2
sord-345e1bfbf8b1cf057f885d841e2bd58f758392d0.zip
Add man page and fix sordi help output.
git-svn-id: http://svn.drobilla.net/sord/trunk@136 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src')
-rw-r--r--src/sordi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sordi.c b/src/sordi.c
index f2f3e59..9309e25 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -46,9 +46,10 @@ print_usage(const char* name, bool error)
{
FILE* const os = error ? stderr : stdout;
fprintf(os, "Usage: %s [OPTION]... INPUT [BASE_URI]\n", name);
- fprintf(os, "Load and re-serialise RDF syntax.\n");
+ fprintf(os, "Load and re-serialise RDF data.\n");
fprintf(os, "Use - for INPUT to read from standard input.\n\n");
fprintf(os, " -h Display this help and exit\n");
+ fprintf(os, " -i SYNTAX Input syntax (`turtle' or `ntriples')\n");
fprintf(os, " -o SYNTAX Output syntax (`turtle' or `ntriples')\n");
fprintf(os, " -s INPUT Parse INPUT as string (terminates options)\n");
fprintf(os, " -v Display version information and exit\n");