From 5437212222ec9de895e4af806ae80c3ffb333141 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 18 Jun 2025 20:25:49 -0400 Subject: [PATCH] build: Fix android. --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.c b/src/main.c index a6eb0bc0..6ba299c5 100644 --- a/src/main.c +++ b/src/main.c @@ -1698,7 +1698,9 @@ static int _tf_command_run(const char* file, int argc, char* argv[]) if (show_usage) { tf_printf("\nUsage: %s run [options]\n\n", file); +#if !defined(__ANDROID__) tf_printf("%s\n\n", _description("run")); +#endif tf_printf("options:\n"); tf_printf(" -s, --script script Script to run (default: core/core.js).\n"); tf_printf(" -d, --db-path path SQLite database path (default: %s).\n", default_db_path); @@ -1784,7 +1786,9 @@ static int _tf_command_sandbox(const char* file, int argc, char* argv[]) if (show_usage) { tf_printf("\nUsage: %s sandbox [options]\n\n", file); +#if !defined(__ANDROID__) tf_printf("%s\n\n", _description("sandbox")); +#endif tf_printf("options:\n"); tf_printf(" -h, --help Show this usage information.\n"); tf_printf(" -f, --fd File descriptor with which to communicate with parent process.\n");