mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 00:00:12 +00:00
fix for bug 3050: -t and -a could not be used together
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -311,6 +311,14 @@ sub processArgs
|
||||
return 2;
|
||||
}
|
||||
|
||||
# -a and -t cannot be used together
|
||||
if ($::opt_a && $::opt_t) {
|
||||
my $rsp;
|
||||
$rsp->{data}->[0] = "The flags \'-a'\ and \'-t'\ cannot be used together.";
|
||||
xCAT::MsgUtils->message("E", $rsp, $::callback);
|
||||
return 2;
|
||||
}
|
||||
|
||||
# -l and -s cannot be used together
|
||||
if ($::opt_l && $::opt_s) {
|
||||
my $rsp;
|
||||
|
Reference in New Issue
Block a user