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:
parent
6ac917a748
commit
1521e5834b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user