Archived
1
0

Remove unused code in optionDescriptions

This commit is contained in:
Anmol Sethi 2020-09-08 19:53:14 -04:00
parent 579bb94a6c
commit c7c62daa67
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -175,7 +175,7 @@ export const optionDescriptions = (): string[] => {
([k, v]) =>
`${" ".repeat(widths.short - (v.short ? v.short.length : 0))}${v.short ? `-${v.short}` : " "} --${k}${" ".repeat(
widths.long - k.length,
)} ${v.description}${typeof v.type === "object" ? ` [${Object.values(v.type).join(", ")}]` : ""}`,
)} ${v.description}`,
)
}