diff options
-rw-r--r-- | jill/src/com/android/jill/Main.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jill/src/com/android/jill/Main.java b/jill/src/com/android/jill/Main.java index 31bbb9c..1843365 100644 --- a/jill/src/com/android/jill/Main.java +++ b/jill/src/com/android/jill/Main.java @@ -21,6 +21,7 @@ import com.android.sched.util.location.NoLocation; import org.kohsuke.args4j.CmdLineException; import org.kohsuke.args4j.CmdLineParser; +import org.kohsuke.args4j.ParserProperties; import java.io.IOException; import java.util.ArrayList; @@ -90,8 +91,8 @@ public class Main { Options options = new Options(); - CmdLineParser parser = new CmdLineParser(options); - parser.setUsageWidth(100); + CmdLineParser parser = + new CmdLineParser(options, ParserProperties.defaults().withUsageWidth(100)); TokenIterator iterator = new TokenIterator(new NoLocation(), args); List<String> list = new ArrayList<String>(); |