diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-09-08 10:20:37 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-09-08 10:20:37 (GMT) |
commit | 65c3ee0f66e3f5231610fdc1f65effc1a8b59e9e (patch) | |
tree | abf1312d6482b92b6e972f8c6d37a0306b84ffd0 | |
parent | 85cacf2b5bd4ba144e6b056353b914cab63ec6db (diff) | |
download | cpython-65c3ee0f66e3f5231610fdc1f65effc1a8b59e9e.zip cpython-65c3ee0f66e3f5231610fdc1f65effc1a8b59e9e.tar.gz cpython-65c3ee0f66e3f5231610fdc1f65effc1a8b59e9e.tar.bz2 |
Use same short banner message as unix/win Python.
-rw-r--r-- | Mac/Python/macmain.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index b49d4ac..c46fd2f 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -56,6 +56,10 @@ extern PyMac_AddLibResources(void); #define STARTUP "PythonStartup" +#define COPYRIGHT \ + "Type \"copyright\", \"credits\" or \"license\" for more information." + + extern int Py_DebugFlag; /* For parser.c, declared in pythonrun.c */ extern int Py_VerboseFlag; /* For import.c, declared in pythonrun.c */ short PyMac_AppRefNum; /* RefNum of application resource fork */ @@ -277,7 +281,7 @@ init_common(int *argcp, char ***argvp, int embedded) } /* Copy selected options to where the machine-independent stuff wants it */ - Py_VerboseFlag = options.verbose; + Py_VerboseFlag = options.verbose *2; /* Py_SuppressPrintingFlag = options.suppress_print; */ Py_OptimizeFlag = options.optimize; Py_DebugFlag = options.debugging; @@ -474,8 +478,8 @@ Py_Main(argc, argv) if (Py_VerboseFlag || command == NULL && filename == NULL && isatty((int)fileno(fp))) - fprintf(stderr, "Python %s\n%s\n", - Py_GetVersion(), Py_GetCopyright()); + fprintf(stderr, "Python %s on %s\n%s\n", + Py_GetVersion(), Py_GetPlatform(), COPYRIGHT); if (filename != NULL) { if ((fp = fopen(filename, "r")) == NULL) { |