未验证 提交 c4f1c053 编写于 作者: A Anmol Sethi

Show valid values for --auth in --help

See https://github.com/nhooyr/code-server/pull/1/files#r485847134
上级 4b3c0896
......@@ -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(", ")}]` : "")
)
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册