From: Andrew Ruthven Date: Sat, 17 Nov 2007 21:43:19 +0000 (+1300) Subject: Only display the version when it is asked for. X-Git-Tag: 0.5~29 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d4d4d53291c997eba7bc000b8f1766fe45cea80;p=mythtv-status.git Only display the version when it is asked for. --- diff --git a/bin/mythtv-status b/bin/mythtv-status index f88dc55..bf2a0cf 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -29,7 +29,7 @@ GetOptions( 'e|episode' => \$episode, 'h|host=s' => \$host, 'p|port=s' => \$port, - 'v|version' => &print_version(), + 'v|version' => \&print_version, ); die "Sorry, port isn't a number.\n"