Add Utils->Version call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
58ea144016
commit
02defb37b2
@ -193,7 +193,6 @@ sub parse_args_xdsh
|
||||
{
|
||||
my $version = xCAT::Utils->Version();
|
||||
xCAT::MsgUtils->message("I", $version);
|
||||
#xCAT::Utils->isLinux();
|
||||
exit 0;
|
||||
}
|
||||
if ($options{'node-rsh'}) # if set on command line, use it
|
||||
@ -277,7 +276,8 @@ sub parse_args_xdcp
|
||||
}
|
||||
if ($options{'version'})
|
||||
{
|
||||
xCAT::MsgUtils->message("I", "Version 2.0");
|
||||
my $version = xCAT::Utils->Version();
|
||||
xCAT::MsgUtils->message("I", $version);
|
||||
exit 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user