From: Ralph Ronnquist Date: Tue, 8 Nov 2022 06:05:38 +0000 (+1100) Subject: changed -I to be -S rather X-Git-Tag: 1.6.1~12 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=8ec1b39c4404bfa82d305a6ad67ee0f39bbb00e1;p=rrq%2Frrqnet.git changed -I to be -S rather --- diff --git a/rrqnet.c b/rrqnet.c index ea0a3af..005fd20 100644 --- a/rrqnet.c +++ b/rrqnet.c @@ -1359,7 +1359,7 @@ static void usage(void) { fprintf( stderr, " -T n = use n delivery threads (5 bu default)\n" ); fprintf( stderr, " -m mcast = allow remotes on multicast address\n" ); fprintf( stderr, " -t tap = use the nominated tap (or - for stdio)\n" ); - fprintf( stderr, " -I source = use given source address for UDP\n" ); + fprintf( stderr, " -S source = use given source address for UDP\n" ); exit( 1 ); } @@ -1518,7 +1518,7 @@ int main(int argc, char *argv[]) { ENSUREARGS( 1 ); } // Then optional source address for UDP - if ( strncmp( "-I", argv[i], 2 ) == 0 ) { + if ( strncmp( "-S", argv[i], 2 ) == 0 ) { ENSUREARGS( 2 ); if ( parse_udp_source( argv[i+1] ) ) { usage();