Browse Source

Allow e.g. "-help -exportresults" as well as "-help exportresults".

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7571 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 12 years ago
parent
commit
8df9fe04ec
  1. 4
      prism/src/prism/PrismCL.java

4
prism/src/prism/PrismCL.java

@ -2152,6 +2152,10 @@ public class PrismCL implements PrismModelListener
*/
private void printHelpSwitch(String sw)
{
// Remove "-" from start of switch, in case present (it shouldn't be really)
if (sw.charAt(0) == '-')
sw = sw.substring(1);
// -const
if (sw.equals("const")) {
mainLog.println("Switch: -const <vals>\n");

Loading…
Cancel
Save