forked from ariya/phantomjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat all args after the script name as script args
This fixes CapserJS which builds a command line like this: phantomjs bin/bootstrap.js --casper-path=~/capserjs --cli That works on Phantom 1.6 but not on master due to the qcommandline port. Fix by extending qcommandlne to take a ParameterFence flag which causes it to treat any options after a parameter as arguments. Switch "scriptname" to use that so the 1.6 behaviour is restored. http://code.google.com/p/phantomjs/issues/detail?id=55
- Loading branch information
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters