Modify archquery to be able to print any system property.

(this is change 4207 that was abandoned due to a merge conflict.)
This commit is contained in:
Raphael
2009-06-15 13:36:11 -07:00
parent 31d55c618e
commit cf0131406d

View File

@@ -45,6 +45,12 @@ package com.android.archquery;
*/
public final class Main {
public static void main(String[] args) {
for (String arg : args) {
System.out.println(String.format("%1$s: %2$s", arg, System.getProperty(arg)));
}
if (args.length == 0) {
// Values listed from http://lopica.sourceforge.net/os.html
String arch = System.getProperty("os.arch");
@@ -63,3 +69,4 @@ public final class Main {
}
}
}
}