1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-06 04:23:19 +00:00

Add required argument to output option (#287)

This commit is contained in:
Matt Gibson
2021-04-14 11:09:47 -05:00
committed by GitHub
parent 5ed32739df
commit 8288bef567

View File

@@ -82,7 +82,7 @@ export class SendProgram extends Program {
.option('--passwordenv <passwordenv>', 'Environment variable storing the Send\'s password') .option('--passwordenv <passwordenv>', 'Environment variable storing the Send\'s password')
.option('--passwordfile <passwordfile>', 'Path to a file containing the Send\s password as its first line') .option('--passwordfile <passwordfile>', 'Path to a file containing the Send\s password as its first line')
.option('--obj', 'Return the Send\'s json object rather than the Send\'s content') .option('--obj', 'Return the Send\'s json object rather than the Send\'s content')
.option('--output', 'Specify a file path to save a File-type Send to') .option('--output <location>', 'Specify a file path to save a File-type Send to')
.on('--help', () => { .on('--help', () => {
writeLn(''); writeLn('');
writeLn('If a password is required, the provided password is used or the user is prompted.'); writeLn('If a password is required, the provided password is used or the user is prompted.');