summaryrefslogtreecommitdiffstats
path: root/src/sordi.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-30 03:16:34 +0000
committerDavid Robillard <d@drobilla.net>2011-04-30 03:16:34 +0000
commit4f124c1ee7fa82e9f3641897da2af4bc122c5522 (patch)
tree4a32ff35d9d16e5ad763ad0b39ef6c5a2c327a7b /src/sordi.c
parentba95acb21e2f1eff8fe69d0cc09cd1c21434feaf (diff)
downloadsord-4f124c1ee7fa82e9f3641897da2af4bc122c5522.tar.gz
sord-4f124c1ee7fa82e9f3641897da2af4bc122c5522.tar.bz2
sord-4f124c1ee7fa82e9f3641897da2af4bc122c5522.zip
Consistent error messages
git-svn-id: http://svn.drobilla.net/sord/trunk@101 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sordi.c')
-rw-r--r--src/sordi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sordi.c b/src/sordi.c
index 3451935..1931b93 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -34,7 +34,7 @@ int
print_version()
{
printf("sordi " SORD_VERSION " <http://drobilla.net/software/sord>\n");
- printf("Copyright 2011-2011 David Robillard <http://drobilla.net>.\n"
+ printf("Copyright 2011 David Robillard <http://drobilla.net>.\n"
"\nLicense: Simplified BSD License.\n"
"This is free software; you are free to change and redistribute it."
"\nThere is NO WARRANTY, to the extent permitted by law.\n");
@@ -97,7 +97,7 @@ main(int argc, char** argv)
return print_version();
} else if (argv[a][1] == 'o') {
if (++a == argc) {
- fprintf(stderr, "missing value for -o\n");
+ fprintf(stderr, "Missing value for -o\n");
return 1;
}
if (!strcmp(argv[a], "turtle")) {
@@ -105,11 +105,11 @@ main(int argc, char** argv)
} else if (!strcmp(argv[a], "ntriples")) {
output_syntax = SERD_NTRIPLES;
} else {
- fprintf(stderr, "unknown output format `%s'\n", argv[a]);
+ fprintf(stderr, "Unknown output format `%s'\n", argv[a]);
return 1;
}
} else {
- fprintf(stderr, "unknown option `%s'\n", argv[a]);
+ fprintf(stderr, "Unknown option `%s'\n", argv[a]);
return print_usage(argv[0], true);
}
}
@@ -121,11 +121,11 @@ main(int argc, char** argv)
bool success = sord_read_file(sord, input, NULL, NULL);
- printf("loaded %zu statements\n", sord_num_nodes(world));
+ printf("Loaded %zu statements\n", sord_num_nodes(world));
SerdURI base_uri;
if (!serd_uri_parse(input, &base_uri)) {
- fprintf(stderr, "bad input URI `%s'\n", input);
+ fprintf(stderr, "Bad input URI <%s>\n", input);
return 1;
}