naccyde / rpms / systemd

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