aboutsummaryrefslogtreecommitdiff
path: root/tools/file_packager.py
diff options
context:
space:
mode:
authorAlan Kligman <ack@mozilla.com>2013-04-24 13:14:35 -0400
committerAlan Kligman <ack@mozilla.com>2013-04-25 00:58:26 -0400
commit9589a2859e3632962bf8a69a8dd5cb2ddc6e2981 (patch)
tree16af5237fee76377a5679619dff538f2019a3153 /tools/file_packager.py
parent1ff825021c8c64813c5700acd5445a0dc51aa530 (diff)
Updated documentation for --use-preload-cache.
Diffstat (limited to 'tools/file_packager.py')
-rw-r--r--tools/file_packager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py
index d4b44ff7..892f064f 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -28,6 +28,8 @@ Usage:
--no-force Don't create output if no valid input file is specified.
+ --use-preload-cache Stores package in IndexedDB so that subsequent loads don't need to do XHR. Checks package version.
+
Notes:
* The file packager generates unix-style file paths. So if you are on windows and a file is accessed at
@@ -44,7 +46,7 @@ from shared import Compression, execute, suffix, unsuffixed
from subprocess import Popen, PIPE, STDOUT
if len(sys.argv) == 1:
- print '''Usage: file_packager.py TARGET [--preload A...] [--embed B...] [--compress COMPRESSION_DATA] [--pre-run] [--crunch[=X]] [--js-output=OUTPUT.js] [--no-force]
+ print '''Usage: file_packager.py TARGET [--preload A...] [--embed B...] [--compress COMPRESSION_DATA] [--pre-run] [--crunch[=X]] [--js-output=OUTPUT.js] [--no-force] [--use-preload-cache]
See the source for more details.'''
sys.exit(0)