From 41a0a37c08a763ef36c32c7420c6a0e45bf33736 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 13 Apr 2008 20:50:29 +0000 Subject: [PATCH] Improve -X error message. --- Modules/main.c | 2 +- Python/getopt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/main.c b/Modules/main.c index 8e02fe4f46f..38b6223ac22 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 acdd5d778b7..247600bf2ab 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 '_'; }