The command is deprecated, as per NEWS of 254. Let's go one step further
and remove it from the help text and man page, so that people are not
inspired to use it at this time anymore.
This is how we usually have done this before: remove it from visibility,
but support it for a while still.
<citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
for details.</para></listitem>
</varlistentry>
-
- <varlistentry>
- <term><option>systemd-efi-options</option> <optional><replaceable>STRING</replaceable></optional></term>
-
- <listitem><para>When called without the optional argument, prints the current value of the
- <literal>SystemdOptions</literal> EFI variable. When called with an argument, sets the variable to
- that value. See
- <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry> for the
- meaning of that variable.</para>
-
- <para>Note: use of <literal>SystemdOptions</literal> and this command is deprecated.</para>
- </listitem>
- </varlistentry>
</variablelist>
</refsect1>
int verb_systemd_efi_options(int argc, char *argv[], void *userdata) {
int r;
+ /* This is obsolete and subject to removal */
+
if (!arg_quiet)
log_notice("Use of the SystemdOptions EFI variable is deprecated.");
" status Show status of installed boot loader and EFI variables\n"
" reboot-to-firmware [BOOL]\n"
" Query or set reboot-to-firmware EFI flag\n"
- " systemd-efi-options [STRING]\n"
- " Query or set system options string in EFI variable\n"
"\n%3$sBoot Loader Specification Commands:%4$s\n"
" list List boot loader entries\n"
" unlink ID Remove boot loader entry\n"