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 15:58:30 -04:00
parent 4b3c089630
commit c4f1c053bf
+2 -1
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(", ")}]` : "")
)
})
}