diff --git a/src/cli.ts b/src/cli.ts index e8a1b52..2f5de21 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -63,7 +63,7 @@ export const main = defineCommand({ type: "string", description: "Path to TLS key used with HTTPS in PEM format", }, - "kettps.pfx": { + "https.pfx": { type: "string", description: "Path to PKCS#12 (.p12/.pfx) keystore containing a TLS certificate and Key", @@ -121,7 +121,7 @@ export const main = defineCommand({ qr: args.qr, publicURL: args.publicURL, public: args.public, - https: args.https ? parseHTTPSArgs(args) : false, + https: args.https ? _parseHTTPSArgs(args) : false, }; const entry = @@ -144,9 +144,9 @@ export const main = defineCommand({ export const runMain = () => _runMain(main); -// --- utils --- +// --- internal utils --- -export function parseHTTPSArgs(args: Record): HTTPSOptions { +function _parseHTTPSArgs(args: Record): HTTPSOptions { const https: HTTPSOptions = {}; if (args["https.cert"]) {