lib/options: fix showOption example

This commit is contained in:
Daiderd Jordan 2020-04-14 20:34:47 +02:00
parent 31a03daa72
commit 964700da44
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -191,7 +191,7 @@ rec {
Example: Example:
(showOption ["foo" "bar" "baz"]) == "foo.bar.baz" (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: Placeholders will not be quoted as they are not actual values:
(showOption ["foo" "*" "bar"]) == "foo.*.bar" (showOption ["foo" "*" "bar"]) == "foo.*.bar"