aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorHisham Aburaqibah <haburaqibah@giga.ly>2025-04-05 09:52:31 +0200
committerHisham Aburaqibah <haburaqibah@giga.ly>2025-04-05 15:18:27 +0200
commitef49d2f0b8f37cb90a1e10f3af8f67f8245ca7c0 (patch)
treefba9412f17acb354efe05373a973b6833ab8dc41 /src/main.cpp
parent2328e8407750c87d9393247fd0faf3d68cc35813 (diff)
print android-specific flags for the bundle command
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 155e48d9c..b2cfbe018 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2848,6 +2848,25 @@ gb_internal void print_show_help(String const arg0, String command, String optio
print_usage_line(2, "Treats warning messages as error messages.");
}
}
+
+ if (bundle) {
+ print_usage_line(0, "");
+ print_usage_line(1, "Android-specific flags");
+ print_usage_line(0, "");
+ if (print_flag("-android-keystore:<string>")) {
+ print_usage_line(2, "Specifies the keystore file to use to sign the apk.");
+ }
+
+ if (print_flag("-android-keystore-alias:<string>")) {
+ print_usage_line(2, "Specifies the key alias to use when signing the apk");
+ print_usage_line(2, "Can be omitted if the keystore only contains one key");
+ }
+
+ if (print_flag("-android-keystore-password:<string>")) {
+ print_usage_line(2, "Sets the password to use to unlock the keystore");
+ print_usage_line(2, "If this is omitted, the terminal will prompt you to provide it.");
+ }
+ }
}
gb_internal void print_show_unused(Checker *c) {