Skip to content

Commit

Permalink
Include "--version" alternate #146
Browse files Browse the repository at this point in the history
  • Loading branch information
REAndroid committed Nov 20, 2024
1 parent 454bd66 commit a7beccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/reandroid/apkeditor/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static int execute(String[] args) {
}

@OtherOption(
names = {"-h", "-help"},
names = {"-h", "-help"}, alternates = {"--help"},
description = "Displays this help and exit"
)
void onMainHelp() {
Expand All @@ -84,7 +84,7 @@ void onMainHelp() {
System.err.println(builder.build());
}
@OtherOption(
names = {"-v", "-version"},
names = {"-v", "-version"}, alternates = {"--version"},
description = "Displays version"
)
void onPrintVersion() {
Expand Down

0 comments on commit a7beccf

Please sign in to comment.