mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Improve -X error message.
This commit is contained in:
parent
c89be9d37d
commit
41a0a37c08
2 changed files with 2 additions and 2 deletions
|
@ -390,7 +390,7 @@ Py_Main(int argc, char **argv)
|
||||||
skipfirstline = 1;
|
skipfirstline = 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* case 'X': reserved for non-standard arguments */
|
/* case 'X': reserved for implementation-specific arguments */
|
||||||
|
|
||||||
case 'U':
|
case 'U':
|
||||||
Py_UnicodeFlag++;
|
Py_UnicodeFlag++;
|
||||||
|
|
|
@ -88,7 +88,7 @@ int _PyOS_GetOpt(int argc, char **argv, char *optstring)
|
||||||
|
|
||||||
if (option == 'X') {
|
if (option == 'X') {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"-X is reserved for non-standard arguments\n");
|
"-X is reserved for implementation-specific arguments\n");
|
||||||
return '_';
|
return '_';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue