]> sourceware.org Git - systemtap.git/commitdiff
PR6925: improve upon "Try again with another -v option" message
authorFrank Ch. Eigler <fche@elastic.org>
Wed, 26 Nov 2008 21:52:34 +0000 (16:52 -0500)
committerFrank Ch. Eigler <fche@elastic.org>
Wed, 26 Nov 2008 21:54:10 +0000 (16:54 -0500)
ChangeLog
main.cxx

index 8572035bfc65a6f6bfbe20d6df04b24b01153f99..e882181104afeb96e03dc068fdd57e9cb7b2d6fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index 406228ae86644191a2c995b9eee47669aa24776c..2646cecde7625cdd8be53f12151b2f914eeafcb2 100644 (file)
--- 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;
This page took 0.036832 seconds and 5 git commands to generate.