Title: Joined command line options handled incorrectly
Type: Severity: normal
Components: Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, fwierzbicki, zyasoft
Priority: low Keywords:

Created on 2012-03-30.22:45:01 by Arfrever, last changed 2015-03-10.18:58:47 by zyasoft.

msg6991 (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) Date: 2012-03-30.22:45:00
$ jython2.5 -Sc pass
Unknown option: Sc
usage: jython [option] ... [-c cmd | -m mod | file | -] [arg] ...
Options and arguments:
-c cmd   : program passed in as string (terminates option list)
-Dprop=v : Set the property `prop' to value `v'
-C codec : Use a different codec when reading from the console.
-h       : print this help message and exit (also --help)
-i       : inspect interactively after running script
           and force prompts, even if stdin does not appear to be a terminal
-jar jar : program read from in jar file
-m mod   : run library module as a script (terminates option list)
-Q arg   : division options: -Qold (default), -Qwarn, -Qwarnall, -Qnew
-S       : don't imply 'import site' on initialization
-u       : unbuffered binary stdout and stderr
-v       : verbose (trace import statements)
-V       : print the Python version number and exit (also --version)
-W arg   : warning control (arg is action:message:category:module:lineno)
file     : program read from script file
-        : program read from stdin (default; interactive mode if a tty)
arg ...  : arguments passed to program in sys.argv[1:]
Other environment variables:
JYTHONPATH: ':'-separated list of directories prefixed to the default module
            search path.  The result is sys.path.
$ python2.5 -Sc pass
$ jython2.5 -S -c pass
$ python2.5 -S -c pass
msg9617 (view) Author: Jim Baker (zyasoft) Date: 2015-03-10.18:58:47
Still present. Would be easy to fix in bin/ (and jython.exe)
Date User Action Args
2015-03-10 18:58:47zyasoftsetnosy: + zyasoft
messages: + msg9617
2013-02-26 18:30:47fwierzbickisetpriority: low
nosy: + fwierzbicki
2012-03-30 22:45:01Arfrevercreate