From: Finn B. <bc...@us...> - 2000-12-15 23:10:12
|
Update of /cvsroot/jython/jython/org/python/util In directory slayer.i.sourceforge.net:/tmp/cvs-serv15485 Modified Files: jython.java Log Message: Added -v (verbose) option. Index: jython.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/util/jython.java,v retrieving revision 2.15 retrieving revision 2.16 diff -C2 -r2.15 -r2.16 *** jython.java 2000/12/06 21:04:30 2.15 --- jython.java 2000/12/15 22:21:02 2.16 *************** *** 15,18 **** --- 15,19 ---- "-S : don't imply `import site' on initialization\n"+ "-X : disable class based standard exceptions\n"+ + "-v : verbose (trace import statements)\n"+ "-Dprop=v : Set the property `prop' to value `v'\n"+ "-jar jar : program read from __run__.py in jar file\n"+ *************** *** 241,244 **** --- 242,254 ---- else if (arg.equals("-X")) { Options.classBasedExceptions = false; + } + else if (arg.equals("-v")) { + Options.verbose++; + } + else if (arg.equals("-vv")) { + Options.verbose += 2; + } + else if (arg.equals("-vvv")) { + Options.verbose +=3 ; } else if (arg.equals("-S")) { |