🔧 Update script metadata and add argument alias for help in wget.ts

This commit is contained in:
2026-04-16 00:46:08 +08:00
parent cdfd05984f
commit fd4bfd0625
2 changed files with 8 additions and 5 deletions

View File

@@ -67,6 +67,9 @@ const args = Deno.args;
const flags = parseArgs(Deno.args, {
boolean: ["help", "no-proxy", "auto-proxy", "hatter-proxy"],
string: ["proxy", "output"],
alias: {
h: "help",
}
});
if (args.length === 0) {
@@ -183,5 +186,5 @@ log.success(
}`,
);
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260412T095641+08:00.MEYCIQC6Qwz7YNhcunDVIDzC
// HjRPVTi1+Ph4FbGDxZuR6lNiUwIhAJyJTsUPZrBT5GYm+9mIlN6mYCbMHce1aU6jYbe4fnyh
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260416T004346+08:00.MEUCIDR39WX3kYlrq/2s3l6Y
// 4M0bElOMBWQeI0vxuAY5miEbAiEAi5sHKcGwQCda0uJ+hhnxloGvaBRFrTjl0fFRUgegqJI=