aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-16 22:59:39 +0000
committerDavid Robillard <d@drobilla.net>2011-05-16 22:59:39 +0000
commit88e6e9a333e99c304451b7755117928a213913ef (patch)
tree4f88c5721fc422679ae2523cf7958b84db966197 /src
parent384cc42c199ca51007c11ccb92e812192d138cc8 (diff)
downloadserd-88e6e9a333e99c304451b7755117928a213913ef.tar.gz
serd-88e6e9a333e99c304451b7755117928a213913ef.tar.bz2
serd-88e6e9a333e99c304451b7755117928a213913ef.zip
Mention - for stdin in help message.
git-svn-id: http://svn.drobilla.net/serd/trunk@182 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r--src/serdi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 91cffe46..bc7c9d18 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -42,7 +42,8 @@ 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, "Read and write RDF syntax.\n\n");
+ fprintf(os, "Read and write RDF syntax.\n");
+ fprintf(os, "Use - for INPUT to read from standard input.\n\n");
fprintf(os, " -h Display this help and exit\n");
fprintf(os, " -o SYNTAX Output syntax (`turtle' or `ntriples')\n");
fprintf(os, " -s INPUT Parse INPUT as string (terminates options)\n");