Clean-up usage.txt.

1.3
Ariya Hidayat 2011-09-15 01:08:48 -07:00
parent eb95355a28
commit 6d42bc0123
1 changed files with 14 additions and 13 deletions

View File

@ -2,16 +2,17 @@
Usage: phantomjs [options] script.[js|coffee] [script argument [script argument ...]] Usage: phantomjs [options] script.[js|coffee] [script argument [script argument ...]]
Options: Options:
--version Prints out PhantomJS version
--cookies=/path/to/cookies.txt Sets the file name to store the persistent cookies --auth=username:password Sets the authentication username and password
--config=/path/to/config Specifies path to a JSON-formatted config file. --cookies=/path/to/cookies.txt Sets the file name to store the persistent cookies
--load-images=[yes|no] Loads all inlined images (default is 'yes'). --config=/path/to/config Specifies path to a JSON-formatted config file
--load-plugins=[yes|no] Loads all plugins (i.e. 'Flash', 'Silverlight', ...) (default is 'no'). --disk-cache=[yes|no] Enables disk cache (at desktop services cache storage location, default is 'no')
--proxy=address:port Sets the network proxy (e.g. "--proxy=192.168.1.42:8080"). --ignore-ssl-errors=[yes|no] Ignores SSL errors (i.e. expired or self-signed certificate errors)
--auth=username:password Sets the authentication username and password (e.g. "--auth=username:password"). --load-images=[yes|no] Loads all inlined images (default is 'yes')
--disk-cache=[yes|no] Enables disk cache (at desktop services cache storage location, default is 'no'). --load-plugins=[yes|no] Loads all plugins (i.e. 'Flash', 'Silverlight', ...) (default is 'no')
--max-disk-cache-size=size Limits the size of disk cache (in KB). --local-to-remote-url-access=[yes|no] Local content can access remote URL (default is 'no')
--ignore-ssl-errors=[yes|no] Ignores SSL errors (i.e. expired or self-signed certificate errors). --max-disk-cache-size=size Limits the size of disk cache (in KB)
--local-to-remote-url-access=[yes|no] Local content can access remote URL (default is 'no'). --output-encoding Sets the encoding used for terminal output (default is 'utf8')
--output-encoding Sets (if available) the encoding used for terminal output (default is 'utf8'). --proxy=address:port Sets the network proxy (e.g. "--proxy=192.168.1.42:8080")
--script-encoding Sets (if available) the encoding used for the starting script (default is 'utf8'). --script-encoding Sets the encoding used for the starting script (default is 'utf8')
--version Prints out PhantomJS version