[systemd-devel] [PATCH] systemctl: introduce -e and -d for start and stop

Lennart Poettering lennart at poettering.net
Wed May 13 06:46:52 PDT 2015

On Wed, 13.05.15 16:39, Mantas Mikul─Śnas (grawity at gmail.com) wrote:

> On Wed, May 13, 2015 at 4:36 PM, Lennart Poettering <lennart at poettering.net>
> wrote:
> > On Wed, 13.05.15 15:21, jsynacek at redhat.com (jsynacek at redhat.com) wrote:
> >
> > > From: Jan Synacek <jsynacek at redhat.com>
> >
> > Hmm, do we really need two options for this? I mean, since -e would
> > only ever be combined with start, and -d only with stop it could as
> > well be a single option that works for both?
> >
> Would be less of a problem if subcommands could have their own options
> separate from global ones...


I think either way it's a good idea to be conservative with adding
options to systemctl. 

Also, even if there were per-verb options, then I'd still believe that
it would be a bad idea to overload the same option for different
verbs, to avoid confusion...


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list