mirror of
https://github.com/systemd/systemd
synced 2024-07-24 03:36:24 +00:00
bootctl: don't advertise systemd-efi-options in --help/man anymore
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.
This commit is contained in:
parent
ca15b59f1f
commit
0de0ed6e89
|
@ -69,19 +69,6 @@
|
|||
<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>
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
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.");
|
||||
|
||||
|
|
|
@ -142,8 +142,6 @@ static int help(int argc, char *argv[], void *userdata) {
|
|||
" 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"
|
||||
|
|
Loading…
Reference in a new issue