[javascriptlint-commit] SF.net SVN: javascriptlint:[379] trunk/javascriptlint/jsl.py
Status: Beta
Brought to you by:
matthiasmiller
|
From: <mat...@us...> - 2018-01-02 22:12:16
|
Revision: 379
http://sourceforge.net/p/javascriptlint/code/379
Author: matthiasmiller
Date: 2018-01-02 22:12:15 +0000 (Tue, 02 Jan 2018)
Log Message:
-----------
Fix to r378.
Modified Paths:
--------------
trunk/javascriptlint/jsl.py
Modified: trunk/javascriptlint/jsl.py
===================================================================
--- trunk/javascriptlint/jsl.py 2018-01-02 21:55:24 UTC (rev 378)
+++ trunk/javascriptlint/jsl.py 2018-01-02 22:12:15 UTC (rev 379)
@@ -77,9 +77,8 @@
add = parser.add_option
add("--conf", dest="conf", metavar="CONF",
help="set the conf file")
- if hotshot is not None:
- add("--profile", dest="profile", action="store_true", default=False,
- help="turn on hotshot profiling")
+ add("--profile", dest="profile", action="store_true", default=False,
+ help="turn on hotshot profiling" if hotshot is not None else optparse.SUPPRESS_HELP)
add("--recurse", dest="recurse", action="store_true", default=False,
help="recursively search directories on the command line")
if os.name == 'nt':
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|