summaryrefslogtreecommitdiffstats
path: root/tools/zipalign/README.txt
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-09-29 10:55:32 -0700
committerAndy McFadden <fadden@android.com>2009-09-29 10:55:32 -0700
commit95ed76bd3e044f3812ddf42a26cb718879dd143c (patch)
tree1f16b90910fa2f4165227517e53647495064a69e /tools/zipalign/README.txt
parentd85472a7461d0daeb7e17a6f0a7c56f37a2335bc (diff)
downloadbuild-95ed76bd3e044f3812ddf42a26cb718879dd143c.zip
build-95ed76bd3e044f3812ddf42a26cb718879dd143c.tar.gz
build-95ed76bd3e044f3812ddf42a26cb718879dd143c.tar.bz2
Update usage and readme for zipalign.
Added the "-c" flag to the README, and added a short description of the flag meanings to the usage output. Threw in an AOSP copyright one-liner for good measure.
Diffstat (limited to 'tools/zipalign/README.txt')
-rw-r--r--tools/zipalign/README.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/zipalign/README.txt b/tools/zipalign/README.txt
index a2e1a5e..9c7d07e 100644
--- a/tools/zipalign/README.txt
+++ b/tools/zipalign/README.txt
@@ -1,7 +1,9 @@
zipalign -- zip archive alignment tool
usage: zipalign [-f] [-v] <align> infile.zip outfile.zip
+ zipalign -c [-v] <align> infile.zip
+ -c : check alignment only (does not modify file)
-f : overwrite existing outfile.zip
-v : verbose output
<align> is in bytes, e.g. "4" provides 32-bit alignment
@@ -29,3 +31,5 @@ entries. Files added to an "aligned" archive will not be aligned.
By default, zipalign will not overwrite an existing output file. With the
"-f" flag, an existing file will be overwritten.
+You can use the "-c" flag to test whether a zip archive is properly aligned.
+