]> granicus.if.org Git - python/commitdiff
Improve -X error message.
authorGeorg Brandl <georg@python.org>
Sun, 13 Apr 2008 20:50:29 +0000 (20:50 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 13 Apr 2008 20:50:29 +0000 (20:50 +0000)
Modules/main.c
Python/getopt.c

index 8e02fe4f46f6d21151a176bbe22065d106765b8f..38b6223ac229f0e998e443d22d511867571f52b3 100644 (file)
@@ -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++;
index acdd5d778b740fe65036c0d69cd126b0961572d4..247600bf2ab016d1782eec345716471c48d85141 100644 (file)
@@ -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 '_';
        }