summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2015-03-17 11:26:16 -0700
committerRichard Uhler <ruhler@google.com>2015-03-18 08:42:34 -0700
commite934df2f3276d1e07c5c95a0fe47fc84b4c9438e (patch)
tree94f9e92ee7c3892d2787a1704511daae0fafbeb2 /dex2oat
parentb93581f857e36a62f690e26e78167f2abea0f033 (diff)
downloadart-e934df2f3276d1e07c5c95a0fe47fc84b4c9438e.zip
art-e934df2f3276d1e07c5c95a0fe47fc84b4c9438e.tar.gz
art-e934df2f3276d1e07c5c95a0fe47fc84b4c9438e.tar.bz2
Improve dex2oat --dex-file and --dex-location usage info.
Change-Id: I8cb2070149ad9fdcf01d773abb1547811999772f
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/dex2oat.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index bb80a70..8512554 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");