]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2003-03-08 Phil Edwards <pme@gcc.gnu.org>
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Mar 2003 01:33:00 +0000 (01:33 +0000)
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Mar 2003 01:33:00 +0000 (01:33 +0000)
* test_summary:  Add -h, print existing comments as help.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64016 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/test_summary

index 3055b4cb024612c257a4765676d0085cbbce7944..00253ca3cf0492fdba1b721701cf18be3de987dd 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-08  Phil Edwards  <pme@gcc.gnu.org>
+
+       * test_summary:  Add -h, print existing comments as help.
+
 2003-03-03  H.J. Lu <hjl@gnu.org>
 
        * gcc_build: Use $GCC_CVS/$CVS instead of cvs.
index 356d7b320acf70bf01d2fe51aa5ff64514b9f929..01fba6fd5d287f634f7d6b2f7b271d83657a3d35 100755 (executable)
 # test_summary | sh     # so as to actually send e-mail and move log files
 
 # It accepts a few command line arguments.  For example:
-# -o: re-reads logs that have been mailed already (.sum.sent)
-# -t: prevents logs from being renamed
-# -p: prepend specified file (or list of files: -p "a b") to the report
-# -i: append specified file (or list of files: -i "a b") to the report
-# -m: specify the e-mail address to send notes to.  An appropriate default
-#     should be selected from the log files.
-# -f: force reports to be mailed; if omitted, only reports that differ
-#     from the sent.* version are sent.
+if test x"$1" = "x-h"; then
+  cat <<_EOF
+ -o: re-reads logs that have been mailed already (.sum.sent)
+ -t: prevents logs from being renamed
+ -p: prepend specified file (or list of files: -p "a b") to the report
+ -i: append specified file (or list of files: -i "a b") to the report
+ -m: specify the e-mail address to send notes to.  An appropriate default
+     should be selected from the log files.
+ -f: force reports to be mailed; if omitted, only reports that differ
+     from the sent.* version are sent.
+_EOF
+  exit 0
+fi
 
 # Find a good awk.
 if test -z "$AWK" ; then