summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--main.cxx10
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8572035b..e8821811 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-11-26 Frank Ch. Eigler <fche@elastic.org>
+ * main.cxx (main): Advise users to try '--vp ...' after a pass error.
+
+2008-11-26 Frank Ch. Eigler <fche@elastic.org>
+
* translate.cxx (emit_module_exit): Call synchronize_sched during
module shutdown if it's available.
* buildrun.cxx (compile_pass): Test for it.
diff --git a/main.cxx b/main.cxx
index 406228ae..2646cecd 100644
--- a/main.cxx
+++ b/main.cxx
@@ -939,7 +939,7 @@ main (int argc, char * const argv [])
if (rc)
cerr << "Pass 1: parse failed. "
- << "Try again with more '-v' (verbose) options."
+ << "Try again with another '--vp 1' option."
<< endl;
if (rc || s.last_pass == 1 || pending_interrupts) goto cleanup;
@@ -967,7 +967,7 @@ main (int argc, char * const argv [])
if (rc)
cerr << "Pass 2: analysis failed. "
- << "Try again with more '-v' (verbose) options."
+ << "Try again with another '--vp 01' option."
<< endl;
// Generate hash. There isn't any point in generating the hash
// if last_pass is 2, since we'll quit before using it.
@@ -1026,7 +1026,7 @@ main (int argc, char * const argv [])
if (rc)
cerr << "Pass 3: translation failed. "
- << "Try again with more '-v' (verbose) options."
+ << "Try again with another '--vp 001' option."
<< endl;
if (rc || s.last_pass == 3 || pending_interrupts) goto cleanup;
@@ -1054,7 +1054,7 @@ main (int argc, char * const argv [])
if (rc)
cerr << "Pass 4: compilation failed. "
- << "Try again with more '-v' (verbose) options."
+ << "Try again with another '--vp 0001' option."
<< endl;
else
{
@@ -1098,7 +1098,7 @@ pass_5:
if (rc)
cerr << "Pass 5: run failed. "
- << "Try again with more '-v' (verbose) options."
+ << "Try again with another '--vp 00001' option."
<< endl;
// if (rc) goto cleanup;