From: Andrew Ruthven Date: Fri, 16 Nov 2007 00:09:08 +0000 (+1300) Subject: Minor tidyup of the order of parameters. X-Git-Tag: 0.4~16 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=501337b078be12574fcf044e9fc18ee5967ed9c4;p=mythtv-status.git Minor tidyup of the order of parameters. --- diff --git a/bin/mythtv-status b/bin/mythtv-status index 2c2f88c..0c5864d 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -21,10 +21,10 @@ my $description = undef; my $episode = undef; GetOptions( - 'h|host=s' => \$host, - 'p|port=s' => \$port, - 'e|episode' => \$episode, - 'd|descripton' => \$description + 'd|descripton' => \$description, + 'e|episode' => \$episode, + 'h|host=s' => \$host, + 'p|port=s' => \$port, ); die "Sorry, port isn't a number.\n" @@ -165,21 +165,21 @@ about to be recorded. =over -=item B<-h HOST, --host=HOST> - -The host to check, defaults to localhost. - -=item B<-p PORT, --port=PORT> +=item B<-d, --description> -The port to use when connecting to MythTV, defaults to 6544. +Display the description for the scheduled recordings. =item B<-e, --episode> Display the episode (subtitle) for the scheduled recordings. -=item B<-d, --description> +=item B<-h HOST, --host=HOST> -Display the description for the scheduled recordings. +The host to check, defaults to localhost. + +=item B<-p PORT, --port=PORT> + +The port to use when connecting to MythTV, defaults to 6544. =back