summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Vernay <brunovern.a@gmail.com>2020-03-17 16:09:36 +0100
committerFilipe Coelho <falktx@falktx.com>2020-03-17 15:20:16 +0000
commite987c3929bcf8c346106910ebbfdde3ad1920651 (patch)
treee96771e1c625a49255c14be93cf43158857ae4cc
parent3c7d23f0f29015257e622ff63c0369abf23d0857 (diff)
downloadjack2-e987c3929bcf8c346106910ebbfdde3ad1920651.tar.gz
Fix wrong error message and few typos
-rw-r--r--example-clients/property.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/example-clients/property.c b/example-clients/property.c
index e0278b46..dddd2edb 100644
--- a/example-clients/property.c
+++ b/example-clients/property.c
@@ -17,7 +17,7 @@ static char* subject = NULL;
static void
show_usage (void)
{
- fprintf (stderr, "\nUsage: jack_property [options] UUID [ key [ value [ type ] ] ]\n");
+ fprintf (stderr, "\nUsage: jack_property [options] UUID [ key [ value [ type ] ] ]\n");
fprintf (stderr, "Set/Display JACK properties (metadata).\n\n");
fprintf (stderr, "Set options:\n");
fprintf (stderr, " -s, --set Set property \"key\" to \"value\" for \"UUID\" with optional MIME type \"type\"\n");
@@ -28,9 +28,9 @@ show_usage (void)
fprintf (stderr, " --port \tInterpret UUID as a port name, not a UUID\n");
fprintf (stderr, "\nDisplay options:\n");
fprintf (stderr, " -l Show all properties\n");
- fprintf (stderr, " -l, --list UUID \tShow value all properties of UUID\n");
+ fprintf (stderr, " -l, --list UUID \tShow value for all properties of UUID\n");
fprintf (stderr, " -l, --list UUID key Show value for key of UUID\n");
- fprintf (stderr, "\nFor more information see http://jackaudio.org/\n");
+ fprintf (stderr, "\nFor more information see https://jackaudio.org/\n");
}
static int
@@ -222,7 +222,7 @@ int main (int argc, char* argv[])
}
if (jack_set_property (client, uuid, key, value, type)) {
- fprintf (stderr, "cannot set value for key %s of %s\n", value, subject);
+ fprintf (stderr, "cannot set value for key %s of %s\n", key, subject);
exit (1);
}