summaryrefslogtreecommitdiffstats
path: root/contrib/test_summary
diff options
context:
space:
mode:
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-09 01:33:00 +0000
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-09 01:33:00 +0000
commit34bf5cc585177ce9b6127056cc09d29eedc0ca13 (patch)
treeb227d8d6ecba2534665d8179829606ce8cf1562f /contrib/test_summary
parent8d94ba7c0d93891c1a396b836683b1cabe972fbe (diff)
downloadppe42-gcc-34bf5cc585177ce9b6127056cc09d29eedc0ca13.tar.gz
ppe42-gcc-34bf5cc585177ce9b6127056cc09d29eedc0ca13.zip
2003-03-08 Phil Edwards <pme@gcc.gnu.org>
* 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
Diffstat (limited to 'contrib/test_summary')
-rwxr-xr-xcontrib/test_summary21
1 files changed, 13 insertions, 8 deletions
diff --git a/contrib/test_summary b/contrib/test_summary
index 356d7b320ac..01fba6fd5d2 100755
--- a/contrib/test_summary
+++ b/contrib/test_summary
@@ -28,14 +28,19 @@
# 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
OpenPOWER on IntegriCloud