From 9d4d4d53291c997eba7bc000b8f1766fe45cea80 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sun, 18 Nov 2007 10:43:19 +1300 Subject: [PATCH] Only display the version when it is asked for. --- bin/mythtv-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2