diff --git a/apps/cli/src/tools/send/send.program.ts b/apps/cli/src/tools/send/send.program.ts index 82699e273c3..2ea73f8c5c8 100644 --- a/apps/cli/src/tools/send/send.program.ts +++ b/apps/cli/src/tools/send/send.program.ts @@ -55,10 +55,13 @@ export class SendProgram extends BaseProgram { "optional password to access this Send. Can also be specified in JSON.", ).conflicts("email"), ) - .option( - "--email ", - "optional emails to access this Send. Can also be specified in JSON.", - parseEmail, + .addOption( + new Option( + "--email ", + "optional emails to access this Send. Can also be specified in JSON.", + ) + .argParser(parseEmail) + .hideHelp(), ) .option("-a, --maxAccessCount ", "The amount of max possible accesses.") .option("--hidden", "Hide in web by default. Valid only if --file is not set.")