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:
@@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user