Include the version number in the man page

This commit is contained in:
Duncan Ferguson 2017-04-13 08:42:13 +01:00
parent b49a83f9da
commit a3373813db
3 changed files with 591 additions and 551 deletions

View file

@ -398,6 +398,8 @@ sub _generate_pod {
output $/ , "=pod";
output '=head1 ', $self->loc('NAME');
output "$Script - ", $self->loc("Cluster administration tool");
output '=head1 ', $self->loc('VERSION');
output $self->loc("This documenation is for version: [_1]", $self->parent->VERSION);
output '=head1 ', $self->loc('SYNOPSIS');
# build the synopsis