From d533fee0b1212474804568789e6f79f7e59a5a4e Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Mon, 18 Dec 2017 14:54:42 -0500 Subject: [PATCH] Add the --activate option into the test --- xCAT-server/lib/xcat/plugins/openbmc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index c2be6d68a..1bb8f461e 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -1180,7 +1180,7 @@ sub parse_args { } if (scalar @flash_arguments > 1) { - if (($option_flag =~ /^-a$|^--delete$/) or ($filename_passed and $option_flag !~ /^-d$/)) { + if (($option_flag =~ /^-a$|^--activate$|^--delete$/) or ($filename_passed and $option_flag !~ /^-d$/)) { # Handles: # - Multiple options not supported to activate/delete at the same time # - Filename passed in and option is not -d for directory