[m-rev.] diff: fix overlong lines in --help message

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Oct 17 14:25:53 AEST 2007


Estimated hours taken: 0.1
Branches: main

compiler/options.m:
 	Fix some overlong lines in mmc's --help message.

Julien.

Index: compiler/options.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/options.m,v
retrieving revision 1.591
diff -u -r1.591 options.m
--- compiler/options.m	15 Oct 2007 08:14:57 -0000	1.591
+++ compiler/options.m	17 Oct 2007 04:24:12 -0000
@@ -3488,10 +3488,9 @@
          "\tExecute disjunctions strictly left-to-right.",
          "--no-fully-strict",
          "\tAllow mmc to optimize away infinite loops or calls to error/1.",
-        "\tAlso allow mmc to replace (semi)pure det goals that have no " ++
-            "outputs with",
-        "\t`true' and replace (semi)pure goals that will always fail " ++
-            "with `fail'.",
+        "\tAlso allow mmc to replace (semi)pure det goals that have no",
+        "\toutputs with `true' and replace (semi)pure goals that will",
+        "\talways fail with `fail'.",
          "--allow-stubs",
          "\tAllow procedures to have no clauses.  Any calls to",
          "\tsuch procedures will raise an exception at run-time.",
@@ -4751,9 +4750,11 @@
          "\tto be quoted when passed to the shell.",

          "--erlang-compiler <erlc>",
-        "\tSpecify the name of the Erlang compiler.  The default is `erlc'.",
+        "\tSpecify the name of the Erlang compiler.",
+        "\tThe default is `erlc'.",
          "--erlang-interpreter <erl>",
-        "\tSpecify the name of the Erlang interpreter.  The default is `erl'.",
+        "\tSpecify the name of the Erlang interpreter.",
+        "\tThe default is `erl'.",
          "--erlang-flags <options>, --erlang-flag <option>",
          "\tSpecify options to be passed to the Erlang compiler.",
          "\t`--erlang-flag' should be used for single words which need",
@@ -4762,10 +4763,10 @@
          "\tAppend <dir> to the list of directories to be searched for",
          "\tErlang header files (.hrl).",
          "--erlang-native-code",
-        "\tAdd `+native' to the list of flags passed to the Erlang compiler.",
-        "\tCancelled out by `--no-erlang-native-code' so it's useful when you",
-        "\twish to enable native code generation for all modules except for",
-        "\ta select few.",
+        "\tAdd `+native' to the list of flags passed to the",
+        "\tErlang compiler.  Cancelled out by `--no-erlang-native code'",
+        "\tso it is useful when you wish to enable native code",
+        "\tgeneration for all modules except for a select few.",
          "--no-erlang-inhibit-trivial-warnings",
          "\tDo not add `+nowarn_unused_vars +nowarn_unused_function' to the",
          "\tlist of flags passed to the Erlang compiler."

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list