be0c12
From f29b7bcd85d4e8d824d36fecc130a0d74af718f8 Mon Sep 17 00:00:00 2001
be0c12
From: David Tardon <dtardon@redhat.com>
be0c12
Date: Tue, 12 Oct 2021 16:47:48 +0200
be0c12
Subject: [PATCH] Remove unintended additions to systemd-analyze man page
be0c12
be0c12
These changes were introduced in commit
be0c12
a2e00522971897909db2a81b4daf10e5700f453e .
be0c12
be0c12
Resolves: #2004765
be0c12
---
be0c12
 man/systemd-analyze.xml | 51 +----------------------------------------
be0c12
 1 file changed, 1 insertion(+), 50 deletions(-)
be0c12
be0c12
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
be0c12
index 7c873cbdd1..e17ff0cf90 100644
be0c12
--- a/man/systemd-analyze.xml
be0c12
+++ b/man/systemd-analyze.xml
be0c12
@@ -354,56 +354,7 @@ $ eog targets.svg</programlisting>
be0c12
       they elapse next. This takes the same input as the <varname>OnCalendar=</varname> setting in
be0c12
       <citerefentry><refentrytitle>systemd.timer</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
be0c12
       following the syntax described in
be0c12
-      <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>. By
be0c12
-      default, only the next time the calendar expression will elapse is shown; use
be0c12
-      <option>--iterations=</option> to show the specified number of next times the expression
be0c12
-      elapses.</para>
be0c12
-
be0c12
-      <example>
be0c12
-        <title>Show leap days in the near future</title>
be0c12
-
be0c12
-        <programlisting>$ systemd-analyze calendar --iterations=5 '*-2-29 0:0:0'
be0c12
-  Original form: *-2-29 0:0:0
be0c12
-Normalized form: *-02-29 00:00:00
be0c12
-    Next elapse: Sat 2020-02-29 00:00:00 UTC
be0c12
-       From now: 11 months 15 days left
be0c12
-       Iter. #2: Thu 2024-02-29 00:00:00 UTC
be0c12
-       From now: 4 years 11 months left
be0c12
-       Iter. #3: Tue 2028-02-29 00:00:00 UTC
be0c12
-       From now: 8 years 11 months left
be0c12
-       Iter. #4: Sun 2032-02-29 00:00:00 UTC
be0c12
-       From now: 12 years 11 months left
be0c12
-       Iter. #5: Fri 2036-02-29 00:00:00 UTC
be0c12
-       From now: 16 years 11 months left
be0c12
-</programlisting>
be0c12
-      </example>
be0c12
-    </refsect2>
be0c12
-
be0c12
-    <refsect2>
be0c12
-      <title><command>systemd-analyze timespan <replaceable>EXPRESSION</replaceable>...</command></title>
be0c12
-
be0c12
-      <para>This command parses a time span and outputs the normalized form and the equivalent value in
be0c12
-      microseconds. The time span should adhere to the same syntax documented in
be0c12
-      <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
be0c12
-      Values without associated magnitudes are parsed as seconds.</para>
be0c12
-
be0c12
-      <example>
be0c12
-        <title>Show parsing of timespans</title>
be0c12
-
be0c12
-        <programlisting>$ systemd-analyze timespan 1s 300s '1year 0.000001s'
be0c12
-Original: 1s
be0c12
-      μs: 1000000
be0c12
-   Human: 1s
be0c12
-
be0c12
-Original: 300s
be0c12
-      μs: 300000000
be0c12
-   Human: 5min
be0c12
-
be0c12
-Original: 1year 0.000001s
be0c12
-      μs: 31557600000001
be0c12
-   Human: 1y 1us
be0c12
-</programlisting>
be0c12
-      </example>
be0c12
+      <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
be0c12
     </refsect2>
be0c12
 
be0c12
     <refsect2>