aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-08 21:24:32 +0000
committerDavid Robillard <d@drobilla.net>2012-01-08 21:24:32 +0000
commit62b8156a4be17341a77fc49f7e1fc7c582f4ac5b (patch)
treed452a4ad63c5b96fea492b10b32bdd61e663ca2e /src/serdi.c
parentbe42496e09caf2c60d8bd71786ab8b352900a725 (diff)
downloadserd-62b8156a4be17341a77fc49f7e1fc7c582f4ac5b.tar.gz
serd-62b8156a4be17341a77fc49f7e1fc7c582f4ac5b.tar.bz2
serd-62b8156a4be17341a77fc49f7e1fc7c582f4ac5b.zip
Update man page.
Sort command line options in help and man page. Fix doxygen warnings about undocumented parameters. git-svn-id: http://svn.drobilla.net/serd/trunk@282 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/serdi.c b/src/serdi.c
index e69b226d..909b42ad 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -30,8 +30,8 @@ int
print_version()
{
printf("serdi " SERD_VERSION " <http://drobilla.net/software/serd>\n");
- printf("Copyright 2011 David Robillard <http://drobilla.net>.\n"
- "License: <http://www.opensource.org/licenses/isc-license>\n"
+ printf("Copyright 2012 David Robillard <http://drobilla.net>.\n"
+ "License: <http://www.opensource.org/licenses/isc>\n"
"This is free software; you are free to change and redistribute it."
"\nThere is NO WARRANTY, to the extent permitted by law.\n");
return 0;
@@ -45,13 +45,13 @@ print_usage(const char* name, bool error)
fprintf(os, "Read and write RDF syntax.\n");
fprintf(os, "Use - for INPUT to read from standard input.\n\n");
fprintf(os, " -b Fast bulk output for large serialisations.\n");
+ fprintf(os, " -c PREFIX Chop PREFIX from matching blank node IDs\n");
fprintf(os, " -f Keep full URIs in input (don't qualify).\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, " -p PREFIX Add PREFIX to blank node IDs\n");
- fprintf(os, " -c PREFIX Chop PREFIX from matching blank node IDs\n");
+ fprintf(os, " -s INPUT Parse INPUT as string (terminates options)\n");
fprintf(os, " -v Display version information and exit\n");
return error ? 1 : 0;
}