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 c4c0ec0581
commit 652d06207d
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"}