summaryrefslogtreecommitdiff
path: root/gcc/gccbug.in
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-31 19:36:28 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-31 19:36:28 +0000
commit4fbea729ba361237b09f2ba8e1aeeb814482612a (patch)
treeb33f399f7505440e425c660bf1c7aa2b6023128d /gcc/gccbug.in
parentda383dd4bbda8d4d0664413141242dbf5f5c4b11 (diff)
downloadgcc-4fbea729ba361237b09f2ba8e1aeeb814482612a.tar.gz
gcc:
* gccbug.in: Follow GNU Coding Standards for --version. Use GCC version rather than GNATS version in --version output. gcc/f: * g77spec.c (lang_specific_driver): Follow GNU Coding Standards for --version. gcc/java: * gjavah.c (version), jcf-dump.c (version), jv-scan.c (version): Follow GNU Coding Standards for --version. libjava: * gnu/gcj/convert/Convert.java: Only include one copyright year in --version output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gccbug.in')
-rwxr-xr-xgcc/gccbug.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/gccbug.in b/gcc/gccbug.in
index 5b085b4c8ea..9619e61222c 100755
--- a/gcc/gccbug.in
+++ b/gcc/gccbug.in
@@ -1,6 +1,6 @@
#!/bin/sh
# Submit a problem report to a GNATS site.
-# Copyright (C) 1993, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1993, 2000, 2001, 2002 Free Software Foundation, Inc.
# Contributed by Brendan Kehoe (brendan@cygnus.com), based on a
# version written by Heinz G. Seidl (hgs@cygnus.com).
#
@@ -183,7 +183,14 @@ while [ $# -gt 0 ]; do
-l | -CL | --lisp) FORMAT=lisp ;;
--request-id) REQUEST_ID=true ;;
-h | --help) echo "$USAGE"; $REMOVE_TEMP; exit 0 ;;
- -V | --version) echo "$VERSION"; $REMOVE_TEMP; exit 0 ;;
+ -V | --version) cat <<EOF
+gccbug (GCC) $DEFAULT_RELEASE
+Copyright (C) 2002 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+EOF
+ $REMOVE_TEMP; exit 0 ;;
-*) echo "$USAGE" ; $REMOVE_TEMP; exit 1 ;;
*) echo "$USAGE" ; $REMOVE_TEMP; exit 1
esac