[systemd-devel] [PATCHv2] systemctl: warn about use of deprecated options
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Fri Jul 19 05:00:41 PDT 2013
On Fri, Jul 19, 2013 at 11:21:04AM +0200, Maciej Wereski wrote:
> if (unit_load_state_from_string(optarg) >= 0) {
> + log_warning("Using --type for load states is deprecated, please use --state instead.");
No, there's nothing wrong with using --type. This warning
would just be noise, breaking scripts.
Zbyszek
--
they are not broken. they are refucktored
-- alxchk
More information about the systemd-devel
mailing list