Skip to content

Commit

Permalink
lib/options: fix showOption example
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Apr 14, 2020
1 parent 31a03da commit 964700d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 964700d

Please sign in to comment.