summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-05 04:41:18 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-05 04:41:18 (GMT)
commita22865ec4400438a8b591c67e26ec69722ac9266 (patch)
treeb90ee9b41b3fdc3d41ba2366e630d95c04d1994a /Modules/main.c
parentf26cda62b68b68c07666f2f21b1f16ded03afa37 (diff)
downloadcpython-a22865ec4400438a8b591c67e26ec69722ac9266.zip
cpython-a22865ec4400438a8b591c67e26ec69722ac9266.tar.gz
cpython-a22865ec4400438a8b591c67e26ec69722ac9266.tar.bz2
Instead of printing all 9 lines of copyright info, print
"Type \"copyright\", \"credits\" or \"license\" for more information."
Diffstat (limited to 'Modules/main.c')
-rw-r--r--Modules/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 32d7c39..fa316cf 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -18,6 +18,9 @@
#define PYTHONHOMEHELP "<prefix>/python2.0"
#endif
+#define COPYRIGHT \
+ "Type \"copyright\", \"credits\" or \"license\" for more information."
+
/* Interface to getopt(): */
extern int optind;
extern char *optarg;
@@ -222,7 +225,7 @@ Py_Main(int argc, char **argv)
if (Py_VerboseFlag ||
(command == NULL && filename == NULL && stdin_is_interactive))
fprintf(stderr, "Python %s on %s\n%s\n",
- Py_GetVersion(), Py_GetPlatform(), Py_GetCopyright());
+ Py_GetVersion(), Py_GetPlatform(), COPYRIGHT);
if (command != NULL) {