From c854d2a366716df3f0b74c1543c7a9ed7a710cf5 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Wed, 14 Jun 2023 11:40:27 +0800 Subject: [PATCH] Update show_help --- main.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/main.ts b/main.ts index 332e092..977c423 100644 --- a/main.ts +++ b/main.ts @@ -9,7 +9,16 @@ import { load_eht_file, update_database_tag } from "./eh_translation.ts"; import { get_abort_signal } from "./signal_handler.ts"; function show_help() { - console.log("Usage: main.ts [options]"); + console.log("Usage: main.ts [options] Command"); + console.log("Commonds:"); + console.log(" d/download Download a gallery"); + console.log(" r/run Run tasks in database"); + console.log(" optimize Optimize the database"); + console.log(" utt/update_tag_translation"); + console.log(" ez/export_zip Export a gallery as zip"); + console.log( + " umsd/update_meili_search_data Sync all gallery metadata to meiliserach server.", + ); console.log("Options:"); console.log(" -h, --help Show this help"); console.log(" -c, --config Specify config file path.");