Skip to content

Commit 3ab49cc

Browse files
committed
Update -help -exportmodel message.
1 parent 2ddd8cc commit 3ab49cc

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

prism/src/prism/PrismCL.java

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2872,25 +2872,29 @@ else if (sw.equals("exportmodel")) {
28722872
mainLog.println("Export the built model to file(s) (or to the screen if <file>=\"stdout\").");
28732873
mainLog.println("Use a list of file extensions to indicate which files should be generated, e.g.:");
28742874
mainLog.println("\n -exportmodel out.tra,sta\n");
2875-
mainLog.println("Possible extensions are: .tra, .srew, .trew, .sta, .lab, .obs, .dot, .drn, .umb");
2876-
mainLog.println("Use extension .all to export all explicit files (.tra/srew/trew/sta/lab/obs), e.g.:");
2875+
mainLog.println("\n -exportmodel out.umb\n");
2876+
mainLog.println("Possible extensions are: .tra, .srew, .trew, .lab, .sta, .obs, .dot, .umb, .drn");
2877+
mainLog.println("Use extension .all to export all explicit files (.tra/srew/trew/lab/sta/obs), e.g.:");
28772878
mainLog.println("\n -exportmodel out.all\n");
28782879
mainLog.println("Omit the file basename to use the basename of the model file, e.g.:");
28792880
mainLog.println("\n -exportmodel .all\n");
28802881
mainLog.println("Use extension .rew to export both .srew/.trew files");
28812882
mainLog.println();
28822883
mainLog.println("If provided, <options> is a comma-separated list of options taken from:");
28832884
mainLog.println(" * format (=explicit/matlab/dot/drn/umb) - model export format");
2885+
mainLog.println(" * rewards (=true/false) - whether to include rewards");
2886+
mainLog.println(" * labels (=true/false) - whether to include labels");
2887+
mainLog.println(" * states (=true/false) - whether to include state definitions");
2888+
mainLog.println(" * obs (=true/false) - whether to include observation definitions");
2889+
mainLog.println(" * actions (=true/false) - whether to include actions on choices/transitions");
2890+
mainLog.println(" * precision (=<n>) - use <n> significant figures for floating point values (in text)");
2891+
mainLog.println(" * zip (=true/false) - whether to zip UMB files");
2892+
mainLog.println(" * text - show binary formats in textual form ");
28842893
mainLog.println(" * matlab - same as format=matlab");
2894+
mainLog.println("For the explicit files format:");
28852895
mainLog.println(" * rows - export matrices with one row/distribution on each line");
2886-
mainLog.println(" * text - show binary formats in textual form ");
2887-
mainLog.println(" * proplabels - export labels from a properties file into the same file, too");
2888-
mainLog.println(" * states (=true/false) - include state definitions");
2889-
mainLog.println(" * obs (=true/false) - include observation definitions");
2890-
mainLog.println(" * actions (=true/false) - show actions on choices/transitions");
2891-
mainLog.println(" * headers (=true/false) - include headers when exporting rewards");
2892-
mainLog.println(" * precision (=n) - export probabilities/rewards with n significant decimal places");
2893-
mainLog.println(" * zip (=true/false) - whether to zip UMB files");
2896+
mainLog.println(" * proplabels - also export labels from a properties file into the same file, too");
2897+
mainLog.println(" * headers (=true/false) - include headers in explicit (reward) files");
28942898
}
28952899
// -exportstrat
28962900
else if (sw.equals("exportstrat")) {

0 commit comments

Comments
 (0)