Instead of printing all 9 lines of copyright info, print

"Type \"copyright\", \"credits\" or \"license\" for more information."
This commit is contained in:
Guido van Rossum 2000-09-05 04:41:18 +00:00
parent f26cda62b6
commit a22865ec44
1 changed files with 4 additions and 1 deletions

View File

@ -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) {