Remove unnecessary options to console run.

git-svn-id: file:///home/svn/framework3/trunk@10298 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Weeks 2010-09-11 22:40:13 +00:00
parent cefe0ecb45
commit f18ce42d1f
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -344,7 +344,8 @@ public class ModulePopup extends MsfFrame implements TreeSelectionListener{
String optVal = optionField.getText();
Object defaultVal = ((Map)options.get(optName)).get("default");
//only need non-default vals
if((defaultVal == null && optVal.length() > 0) || (defaultVal != null && ! optVal.equals(defaultVal)))
if((defaultVal == null && optVal.length() > 0 && (!optName.equals("WORKSPACE") || !optVal.equals("default"))
|| (defaultVal != null && ! optVal.equals(defaultVal.toString()))))
hash.put(optName, optVal);
}
//Execute and get results