summaryrefslogtreecommitdiff
path: root/cpuload.pl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-07 14:18:26 +0000
committerPaul Buetow <paul@buetow.org>2010-11-07 14:18:26 +0000
commit0adb7fdb616f8f7ca80c7261e93e6dec0f0b9c37 (patch)
tree675fedcba0067c80b457d8cd2da3e297bd469459 /cpuload.pl
parent1f14d4d56a74e160c4609780921a7faa73b629e1 (diff)
separated VERSION and COPYRIGHT
Diffstat (limited to 'cpuload.pl')
-rwxr-xr-xcpuload.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpuload.pl b/cpuload.pl
index 04d41c2..8714e03 100755
--- a/cpuload.pl
+++ b/cpuload.pl
@@ -21,7 +21,8 @@ use constant {
HEIGHT => 200,
DEPTH => 8,
PROMPT => 'cpuload> ',
- VERSION => 'cpuload v0.1 2010 (c) Paul Buetow <cpuload@mx.buetow.org>',
+ VERSION => 'cpuload v0.1',
+ COPYRIGHT => '2010 (c) Paul Buetow <cpuload@mx.buetow.org>',
};
$| = 1;
@@ -334,7 +335,7 @@ sub main (@_) {
@hosts = 'localhost' unless @hosts;
my ($display, @threads) = create_threads @hosts;
- say VERSION;
+ say VERSION . ' ' . COPYRIGHT;
say "Type 'h' for help menu";
print PROMPT;