Skip to content

Commit

Permalink
add -version on help print
Browse files Browse the repository at this point in the history
  • Loading branch information
REAndroid committed Jul 26, 2023
1 parent 262e3da commit a226e97
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/com/reandroid/apkeditor/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ private static String getHelp(){

StringHelper.printTwoColumns(builder, " ", " - ", Options.PRINT_WIDTH, table);

builder.append("\n\n other options: \n");
table = new String[][]{
new String[]{" -h | -help | --help", "prints this help and exit"},
new String[]{"-version | --version", "prints version information of this tool and exit"}
};
StringHelper.printTwoColumns(builder, " ", " - ", Options.PRINT_WIDTH, table);

builder.append("\n\n run with <command> -h to get detailed help about each command\n");

return builder.toString();
Expand Down

0 comments on commit a226e97

Please sign in to comment.