forked from mirrors/nixpkgs
lib/options: fix showOption example
This commit is contained in:
parent
31a03daa72
commit
964700da44
|
@ -191,7 +191,7 @@ rec {
|
|||
|
||||
Example:
|
||||
(showOption ["foo" "bar" "baz"]) == "foo.bar.baz"
|
||||
(showOption ["foo" "bar.baz" "tux"]) == "foo.\"bar.baz\".tux"
|
||||
(showOption ["foo" "bar.baz" "tux"]) == "foo.bar.baz.tux"
|
||||
|
||||
Placeholders will not be quoted as they are not actual values:
|
||||
(showOption ["foo" "*" "bar"]) == "foo.*.bar"
|
||||
|
|
Loading…
Reference in a new issue