cups: Rename "browsing" config option to "advertise"

This commit is contained in:
Jascha Geerds 2015-05-10 00:04:59 +02:00 committed by Domen Kožar
parent 116006702b
commit 48e65cec4e
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ was accordingly renamed to <literal>bomi</literal>
<para>
Local printers are no longer shared or advertised by default. This behavior
can be changed by enabling <literal>services.printing.defaultShared</literal>
or <literal>services.printing.browsing</literal> respectively.
or <literal>services.printing.advertise</literal> respectively.
</para>
</listitem>

View file

@ -80,7 +80,7 @@ in
'';
};
browsing = mkOption {
advertise = mkOption {
type = types.bool;
default = false;
description = ''
@ -285,7 +285,7 @@ in
DefaultShared ${if cfg.defaultShared then "Yes" else "No"}
Browsing ${if cfg.browsing then "Yes" else "No"}
Browsing ${if cfg.advertise then "Yes" else "No"}
WebInterface ${if cfg.webInterface then "Yes" else "No"}