diff options
author | Richard Uhler <ruhler@google.com> | 2015-03-23 15:21:20 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-23 15:21:21 +0000 |
commit | 461bd6cbcd26731aad019d382aafbdbc7ee19e69 (patch) | |
tree | 97a0f1fdd5d90a9232b087d957d908c7d3348752 | |
parent | b8fb4f499d5a78db597142c9986a2550345bd2b9 (diff) | |
parent | e934df2f3276d1e07c5c95a0fe47fc84b4c9438e (diff) | |
download | art-461bd6cbcd26731aad019d382aafbdbc7ee19e69.zip art-461bd6cbcd26731aad019d382aafbdbc7ee19e69.tar.gz art-461bd6cbcd26731aad019d382aafbdbc7ee19e69.tar.bz2 |
Merge "Improve dex2oat --dex-file and --dex-location usage info."
-rw-r--r-- | dex2oat/dex2oat.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 44b07e2..dda8bca 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -109,9 +109,14 @@ NO_RETURN static void Usage(const char* fmt, ...) { UsageError("Usage: dex2oat [options]..."); UsageError(""); - UsageError(" --dex-file=<dex-file>: specifies a .dex file to compile."); + UsageError(" --dex-file=<dex-file>: specifies a .dex, .jar, or .apk file to compile."); UsageError(" Example: --dex-file=/system/framework/core.jar"); UsageError(""); + UsageError(" --dex-location=<dex-location>: specifies an alternative dex location to"); + UsageError(" encode in the oat file for the corresponding --dex-file argument."); + UsageError(" Example: --dex-file=/home/build/out/system/framework/core.jar"); + UsageError(" --dex-location=/system/framework/core.jar"); + UsageError(""); UsageError(" --zip-fd=<file-descriptor>: specifies a file descriptor of a zip file"); UsageError(" containing a classes.dex file to compile."); UsageError(" Example: --zip-fd=5"); |