add line for version

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-10-02 14:27:40 +00:00
parent 05295fba00
commit 3d4675fae6

View File

@ -198,6 +198,7 @@ sub parse_args_xdsh
if ($options{'version'})
{
my $version = xCAT::Utils->Version();
$version .= "\n";
xCAT::MsgUtils->message("I", $version);
exit 0;
}
@ -283,6 +284,7 @@ sub parse_args_xdcp
if ($options{'version'})
{
my $version = xCAT::Utils->Version();
$version .= "\n";
xCAT::MsgUtils->message("I", $version);
exit 0;
}