You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.option(
'exclude',
{
desc: 'A list of text files to exclude from encryption',
alias: 'e',
array: true,
type: 'string',
},
)
.option(
'exclude-extension',
{
desc: 'An extension to exclude from encryption list',
alias: 'ee',
type: 'string',
},
)
Current output
-e, --exclude A list of text files to exclude from encryption
[array]
--exclude-extension, --ee An extension to exclude from encryption list
[string]
Expected output
-e, --exclude A list of text files to exclude from encryption
[array]
-ee, --exclude-extension An extension to exclude from encryption list
[string]
The text was updated successfully, but these errors were encountered:
The single dash is used specifically for single character aliases, I don't think we should encourage people to use a single dash except for this case, as it has special meaning:
rm -rf
☝️ this is setting both the -r and -f option, not a single option called -rf.
Description
Please use 1 dash for short aliases.
Setup
Current output
Expected output
The text was updated successfully, but these errors were encountered: