summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-04-13 20:50:29 (GMT)
committerGeorg Brandl <georg@python.org>2008-04-13 20:50:29 (GMT)
commit41a0a37c08a763ef36c32c7420c6a0e45bf33736 (patch)
tree88c83f8da65bd144e6a35519dde836ebf9aaa7af
parentc89be9d37d2d2ef82b18f0a626ef9b86061676af (diff)
downloadcpython-41a0a37c08a763ef36c32c7420c6a0e45bf33736.zip
cpython-41a0a37c08a763ef36c32c7420c6a0e45bf33736.tar.gz
cpython-41a0a37c08a763ef36c32c7420c6a0e45bf33736.tar.bz2
Improve -X error message.
-rw-r--r--Modules/main.c2
-rw-r--r--Python/getopt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 8e02fe4..38b6223 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -390,7 +390,7 @@ Py_Main(int argc, char **argv)
skipfirstline = 1;
break;
- /* case 'X': reserved for non-standard arguments */
+ /* case 'X': reserved for implementation-specific arguments */
case 'U':
Py_UnicodeFlag++;
diff --git a/Python/getopt.c b/Python/getopt.c
index acdd5d7..247600b 100644
--- a/Python/getopt.c
+++ b/Python/getopt.c
@@ -88,7 +88,7 @@ int _PyOS_GetOpt(int argc, char **argv, char *optstring)
if (option == 'X') {
fprintf(stderr,
- "-X is reserved for non-standard arguments\n");
+ "-X is reserved for implementation-specific arguments\n");
return '_';
}