From a22865ec4400438a8b591c67e26ec69722ac9266 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 5 Sep 2000 04:41:18 +0000 Subject: Instead of printing all 9 lines of copyright info, print "Type \"copyright\", \"credits\" or \"license\" for more information." --- Modules/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 "/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) { -- cgit v0.12