mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 22:54:24 +02:00
remove console width formatting
This commit is contained in:
parent
3a5530e67b
commit
51013d9e0a
@ -38,7 +38,6 @@ import org.apache.commons.cli.OptionBuilder;
|
|||||||
import org.apache.commons.cli.Options;
|
import org.apache.commons.cli.Options;
|
||||||
import org.apache.commons.cli.ParseException;
|
import org.apache.commons.cli.ParseException;
|
||||||
import org.apache.commons.cli.PosixParser;
|
import org.apache.commons.cli.PosixParser;
|
||||||
import org.jf.util.ConsoleUtil;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Ryszard Wiśniewski <brut.alll@gmail.com>
|
* @author Ryszard Wiśniewski <brut.alll@gmail.com>
|
||||||
@ -422,13 +421,6 @@ public class Main {
|
|||||||
_Options();
|
_Options();
|
||||||
HelpFormatter formatter = new HelpFormatter();
|
HelpFormatter formatter = new HelpFormatter();
|
||||||
|
|
||||||
// max their window to 120, if small.
|
|
||||||
int consoleWidth = ConsoleUtil.getConsoleWidth();
|
|
||||||
if (consoleWidth <= 0) {
|
|
||||||
consoleWidth = 120;
|
|
||||||
}
|
|
||||||
formatter.setWidth(consoleWidth);
|
|
||||||
|
|
||||||
// print out license info prior to formatter.
|
// print out license info prior to formatter.
|
||||||
System.out.println(
|
System.out.println(
|
||||||
"Apktool v" + Androlib.getVersion() + " - a tool for reengineering Android apk files\n" +
|
"Apktool v" + Androlib.getVersion() + " - a tool for reengineering Android apk files\n" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user