On Wed, 06.06.12 16:56, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote:

> E.g. systemctl --all -t masked gives the list of masked units.
> 
> The -t/--type option is reused. This is possible because unit types
> and unit load states are called differently, so it is possible to
> distinguish what the user meant. Using the same option also means that
> the interface is user for the user: less options to remember.

OK, merged this two as well.

At first I was a bit concerned that we'd overload the same switch with
two meanings here, but given that we'd be quite stupid if we reused the
same enum values here in different contexts and we so far carefully made
sure not to this should be reasonably safe.

Thanks!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to