nixos/nixos-option: Show options' types #27920
This commit is contained in:
parent
59c5bfc86b
commit
26c45dfec2
|
@ -434,6 +434,9 @@ void printOption(Context *ctx, Out &out, std::string const &path,
|
|||
out << "\n\nDefault:\n";
|
||||
printAttr(ctx, out, "default", option);
|
||||
|
||||
out << "\n\nType:\n";
|
||||
printAttr(ctx, out, "type.description", option);
|
||||
|
||||
out << "\n\nExample:\n";
|
||||
printAttr(ctx, out, "example", option);
|
||||
|
||||
|
|
Loading…
Reference in a new issue