[systemd-devel] [PATCH 1/2] systemctl: Add reboot to firmware support

Kay Sievers kay at vrfy.org
Tue Mar 17 09:06:27 PDT 2015

On Tue, Mar 17, 2015 at 1:12 PM, Jan Janssen <medhefgo at web.de> wrote:
> Dimitri John Ledkov <dimitri.j.ledkov <at> intel.com> writes:
> Also, the fact that there have been people asking questions about how to get
> to the EFI/BIOS has always been there. With this you can just tell them to
> "systemctl --firmware reboot" on any modern computer and be done with it.

It should be:
  systemctl reboot --firmware

Local options of a verb should only work locally and throw an error if
used before the verb.

It is not a problem of this patch, but systemctl should be fixed to
work like that (like udevadm), and not mess all local things into
global command line switching handling. The documentation is also
confusing, where it describes in a global section the local
verb-specific options.


More information about the systemd-devel mailing list