Lines Matching refs:args
58 public static void main(String[] args) { in main() argument
61 if (args.length < 2) { in main()
68 for (idx = 0; idx < args.length; idx++) { in main()
69 if (args[idx].equals("--help")) { in main()
72 } else if (args[idx].startsWith("--uses-library=")) { in main()
73 String libName = args[idx].substring(args[idx].indexOf('=')+1); in main()
82 } else if (args[idx].startsWith("--ignore-package=")) { in main()
83 String pkgName = args[idx].substring(args[idx].indexOf('=')+1); in main()
85 } else if (args[idx].equals("--warn")) { in main()
87 } else if (args[idx].equals("--no-warn")) { in main()
89 } else if (args[idx].equals("--error")) { in main()
91 } else if (args[idx].equals("--no-error")) { in main()
94 } else if (args[idx].startsWith("--")) { in main()
95 if (args[idx].equals("--")) { in main()
102 args[idx] + " (use \"--help\" for usage info)"); in main()
109 if (idx > args.length - 2) { in main()
115 if (!parseApiDescr(apiDescr, args[idx++])) in main()
123 for ( ; idx < args.length; idx++) { in main()
124 ApiList apkDescr = new ApiList(args[idx]); in main()
126 boolean success = parseApiDescr(apkDescr, args[idx]); in main()
128 if (idx < args.length-1) in main()
134 System.out.println(args[idx] + ": summary: " + in main()