From e3658a072c1a1b97147af5695b95817b4d5e4d9b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 14 Aug 2013 15:18:12 +0200 Subject: [PATCH] Use here-doc for --version output. --- bin/blhc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/blhc b/bin/blhc index c7457d2..e2658ae 100755 --- a/bin/blhc +++ b/bin/blhc @@ -570,7 +570,8 @@ if ($option_help) { Pod::Usage::pod2usage(1); } if ($option_version) { - print "blhc $VERSION Copyright (C) 2012-2013 Simon Ruderich + print <<"EOF"; +blhc $VERSION Copyright (C) 2012-2013 Simon Ruderich 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 @@ -584,7 +585,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . -"; +EOF exit 0; } -- 2.45.2