@@ -46,6 +46,7 @@ public static void main(String[] rawArgs) {
4646 Set <String > forcePropagation = Collections .emptySet ();
4747 File forcePropagationFile = null ;
4848 boolean ignoreConflicts = false ;
49+ boolean useResolvedOwners = false ;
4950 boolean checkPackageAccess = false ;
5051 boolean fixPackageAccess = false ;
5152 boolean resolveMissing = false ;
@@ -91,6 +92,9 @@ public static void main(String[] rawArgs) {
9192 case "ignoreconflicts" :
9293 ignoreConflicts = true ;
9394 break ;
95+ case "useresolvedowners" :
96+ useResolvedOwners = true ;
97+ break ;
9498 case "checkpackageaccess" :
9599 checkPackageAccess = true ;
96100 break ;
@@ -145,7 +149,25 @@ public static void main(String[] rawArgs) {
145149 }
146150
147151 if (args .size () < 5 ) {
148- System .out .println ("usage: <input> <output> <mappings> <from> <to> [<classpath>]... [--reverse] [--forcePropagation=<file>] [--propagatePrivate] [--ignoreConflicts]" );
152+ System .out .printf ("usage: <input> <output> <mappings> <from> <to> [<classpath>]... [OPTIONS]%n"
153+ + "options:%n"
154+ + " --ignoreFieldDesc%n"
155+ + " --forcePropagation=<file>%n"
156+ + " --propagatePrivate%n"
157+ + " --propagateBridges=(disabled|enabled|compatible)%n"
158+ + " --removeFrames%n"
159+ + " --ignoreConflicts%n"
160+ + " --useResolvedOwners%n"
161+ + " --checkPackagAaccess%n"
162+ + " --fixPackageAccess%n"
163+ + " --resolveMissing%n"
164+ + " --rebuildSourceFilenames%n"
165+ + " --skipLocalVariableMapping%n"
166+ + " --renameInvalidLocals%n"
167+ + " --invalidLvNamePattern=<pattern>%n"
168+ + " --nonClassCopyMode=(unchanged|fixmeta|skipmeta)%n"
169+ + " --threads=<n>%n"
170+ + " --mixin%n" );
149171 System .exit (1 );
150172 }
151173
@@ -212,6 +234,7 @@ public static void main(String[] rawArgs) {
212234 .propagateBridges (propagateBridges )
213235 .removeFrames (removeFrames )
214236 .ignoreConflicts (ignoreConflicts )
237+ .useResolvedOwners (useResolvedOwners )
215238 .checkPackageAccess (checkPackageAccess )
216239 .fixPackageAccess (fixPackageAccess )
217240 .resolveMissing (resolveMissing )
0 commit comments