From 12b5980853a3ca1c1e9ecb163f56fc3e4daa752e Mon Sep 17 00:00:00 2001 From: zefie Date: Sun, 26 Apr 2026 23:04:01 -0400 Subject: [PATCH] fix tool --help --- zefie_wtvp_minisrv/client_sim.js | 12 ++++++------ zefie_wtvp_minisrv/wtv_img_converter.js | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/zefie_wtvp_minisrv/client_sim.js b/zefie_wtvp_minisrv/client_sim.js index f33da7f3..3f0a7af6 100644 --- a/zefie_wtvp_minisrv/client_sim.js +++ b/zefie_wtvp_minisrv/client_sim.js @@ -2821,7 +2821,7 @@ function parseArgs() { console.log(` WebTV Client Simulator -Usage: node client_emu.js [options] +Usage: node client_sim.js [options] Options: --host Target server IP address (default: 127.0.0.1) @@ -2848,11 +2848,11 @@ Options: --help Show this help message Example: - node client_emu.js --host 192.168.1.100 --port 1615 --ssid 8100000000000001 --url wtv-home:/home --file output.html - node client_emu.js --host 127.0.0.1 --url wtv-home:/home --file archive.zip --follow --debug - node client_emu.js --host 127.0.0.1 --url wtv-home:/home --file complete.zip --follow-all --depth 2 --debug - node client_emu.js --host 127.0.0.1 --url wtv-mail:/sendmail --post --data "to=user@example.com&subject=test&body=Hello" --file response.html - node client_emu.js --host 127.0.0.1 --url wtv-mail:/sendmail --post --data "to=user@example.com&subject=test&body=Hello" --tricks + node client_sim.js --host 192.168.1.100 --port 1615 --ssid 8100000000000001 --url wtv-home:/home --file output.html + node client_sim.js --host 127.0.0.1 --url wtv-home:/home --file archive.zip --follow --debug + node client_sim.js --host 127.0.0.1 --url wtv-home:/home --file complete.zip --follow-all --depth 2 --debug + node client_sim.js --host 127.0.0.1 --url wtv-mail:/sendmail --post --data "to=user@example.com&subject=test&body=Hello" --file response.html + node client_sim.js --host 127.0.0.1 --url wtv-mail:/sendmail --post --data "to=user@example.com&subject=test&body=Hello" --tricks `); process.exit(0); } diff --git a/zefie_wtvp_minisrv/wtv_img_converter.js b/zefie_wtvp_minisrv/wtv_img_converter.js index 2fb5dbc8..7e861c0d 100644 --- a/zefie_wtvp_minisrv/wtv_img_converter.js +++ b/zefie_wtvp_minisrv/wtv_img_converter.js @@ -1,9 +1,9 @@ #!/usr/bin/env node /** - * wtv_png_converter.js - WebTV PNG/GIF conversion CLI + * wtV_img_converter.js - WebTV PNG/GIF conversion CLI * * Usage: - * node wtv_png_converter.js [options] [output] + * node wtV_img_converter.js [options] [output] * * Commands: * convert Convert a PNG to the best WebTV format (auto: JPEG or Artemis GIF) @@ -86,11 +86,11 @@ Options: --help, -h Show this help Examples: - node wtv_png_converter.js convert logo.png - node wtv_png_converter.js convert logo.png logo_wtv.gif --type ALF --colors 128 - node wtv_png_converter.js encode icon.png icon.gif --type ALP - node wtv_png_converter.js decode artemis.gif result.png - node wtv_png_converter.js detect artemis.gif + node wtV_img_converter.js convert logo.png + node wtV_img_converter.js convert logo.png logo_wtv.gif --type ALF --colors 128 + node wtV_img_converter.js encode icon.png icon.gif --type ALP + node wtV_img_converter.js decode artemis.gif result.png + node wtV_img_converter.js detect artemis.gif `.trim()); }