[m-rev.] diff: Fix mandelbrot's --help message.

Paul Bone paul at bone.id.au
Wed May 28 15:03:01 AEST 2014


Branches: version-14_01-branch

---
Fix mandelbrot's --help message.

Fix a missing newline and document the --parallel option.

benchmarks/progs/mandelbrot/mandelbrot.m:
    As above.
---
 benchmarks/progs/mandelbrot/mandelbrot.m | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/benchmarks/progs/mandelbrot/mandelbrot.m b/benchmarks/progs/mandelbrot/mandelbrot.m
index 44583c5..bb9f2cd 100644
--- a/benchmarks/progs/mandelbrot/mandelbrot.m
+++ b/benchmarks/progs/mandelbrot/mandelbrot.m
@@ -164,9 +164,14 @@ usage(!IO) :-
     format("Usage: %s <opts>\n", [s(ProgName)], !IO),
     write_string("<opts> may be one or more of:\n", !IO),
     write_string("\t-x X -y Y\n", !IO),
-    write_string("\t\tThe dimensions of the image, specify neither or both", !IO),
+    write_string(
+        "\t\tThe dimensions of the image, specify neither or both\n", !IO),
+    write_string("\t-p --parallel\n", !IO),
+    write_string(
+        "\t\tUse explicit parallel conjunctions (grade dependent)\n", !IO),
     write_string("\t-d --dependent-conjunctions\n", !IO),
-    write_string("\t\tUse an accumulator to represent the rows rendered so far", !IO).
+    write_string(
+        "\t\tUse an accumulator to represent the rows rendered so far\n", !IO).
 
 :- pred real_main(options::in, io::di, io::uo) is det.
 
-- 
2.0.0.rc0




More information about the reviews mailing list