Archived
1
0

Show valid values for --auth in --help

See https://github.com/nhooyr/code-server/pull/1/files#r485847134
This commit is contained in:
Anmol Sethi 2020-10-07 03:52:37 -04:00
parent 4b3c089630
commit c4f1c053bf
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -192,7 +192,8 @@ export const optionDescriptions = (): string[] => {
}
return " ".repeat(widths.long + widths.short + 6) + line
})
.join("\n")
.join("\n") +
(typeof v.type === "object" ? ` [${Object.values(v.type).join(", ")}]` : "")
)
})
}