]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: don't advertise systemd-efi-options in --help/man anymore
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2023 11:08:58 +0000 (13:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2023 12:25:46 +0000 (14:25 +0200)
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.

man/bootctl.xml
src/boot/bootctl-systemd-efi-options.c
src/boot/bootctl.c

index a03c7c76e813c67334b0e22989d890f7624ba00b..7bdada8a88017545b30aa3b6e173e86aa32bc498 100644 (file)
         <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>
 
index 6375f210970e5ab61a362cf9dea48bebf187dd93..7f8308fc3d6865a72f34820b6bdbef4c6e3a722f 100644 (file)
@@ -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.");
 
index a86ab84d1907c5d52b56f125d5601df79b93d761..1bc4aaf3babc2702347052dadce9bc7b84c9c3e3 100644 (file)
@@ -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"