From c897bb654f1536c082d077d030c6b0fa5b471fc2 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Sun, 1 Mar 2009 12:42:21 +0000 Subject: [PATCH] Improve disorder-playrtp docs/--help Organization: Straylight/Edgeware From: Richard Kettlewell --- clients/playrtp.c | 2 +- doc/disorder-playrtp.1.in | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/clients/playrtp.c b/clients/playrtp.c index eb879fe..f5103a3 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -474,7 +474,7 @@ struct packet *playrtp_next_packet(void) { /* display usage message and terminate */ static void help(void) { xprintf("Usage:\n" - " disorder-playrtp [OPTIONS] ADDRESS [PORT]\n" + " disorder-playrtp [OPTIONS] [[ADDRESS] PORT]\n" "Options:\n" " --device, -D DEVICE Output device\n" " --min, -m FRAMES Buffer low water mark\n" diff --git a/doc/disorder-playrtp.1.in b/doc/disorder-playrtp.1.in index b8147ad..440604f 100644 --- a/doc/disorder-playrtp.1.in +++ b/doc/disorder-playrtp.1.in @@ -1,5 +1,5 @@ .\" -.\" Copyright (C) 2007, 2008 Richard Kettlewell +.\" Copyright (C) 2007-2009 Richard Kettlewell .\" .\" This program is free software: you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by @@ -21,21 +21,21 @@ disorder-playrtp \- play DisOrder network broadcasts .B disorder\-playrtp .RI [ OPTIONS ] .RB [ \-\- ] -.RI [[ GROUP ] +.RI [[ ADDRESS ] .IR PORT ] .SH DESCRIPTION \fBdisorder\-playrtp\fR plays a network broadcast sent from the specified address. .PP -If neither a group nor port are specified then the local DisOrder +If neither an address nor port are specified then the local DisOrder configuration is consulted to find the server and the server is asked where the RTP stream is. .PP If just a port is specified then the RTP stream is assumed to be unicast or broadcast to that port. .PP -If a group and a port are specified then the RTP stream is assumed to be -multicast to that group and port. +If an address and a port are specified then the RTP stream is assumed to be +multicast to that group address and port. .SH OPTIONS The default sound API is the first of the ones listed below that are available. Usually this implies ALSA under Linux and Core Audio under OS X. -- [mdw]