From: Georg Brandl Date: Sun, 13 Apr 2008 20:50:29 +0000 (+0000) Subject: Improve -X error message. X-Git-Tag: v2.6a3~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41a0a37c08a763ef36c32c7420c6a0e45bf33736;p=python Improve -X error message. --- diff --git a/Modules/main.c b/Modules/main.c index 8e02fe4f46..38b6223ac2 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 acdd5d778b..247600bf2a 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 '_'; }