]> git.pld-linux.org Git - packages/fortune-mod.git/blame - fortune-mod-usage.patch
BR: libstdc++-devel
[packages/fortune-mod.git] / fortune-mod-usage.patch
CommitLineData
4f8ce873
JB
1--- fortune-mod-3.18.0/fortune/fortune.c.orig 2023-03-07 20:29:28.209801870 +0100
2+++ fortune-mod-3.18.0/fortune/fortune.c 2023-03-07 20:41:20.522609607 +0100
3@@ -240,11 +240,11 @@ static char *program_version(void)
4 static void __attribute__((noreturn)) usage(void)
bda19f2a 5 {
4f8ce873
JB
6 (void)fprintf(stderr, "%s\n", program_version());
7- (void)fprintf(stderr, "%s", "fortune [-a");
8+ (void)fprintf(stderr, "fortune [-ac");
9 #ifdef DEBUG
10 (void)fprintf(stderr, "%s", "D");
bda19f2a 11 #endif /* DEBUG */
4f8ce873
JB
12- (void)fprintf(stderr, "%s", "f");
13+ (void)fprintf(stderr, "ef");
14 #ifdef WITH_REGEX
15 (void)fprintf(stderr, "%s", "i");
16 #endif
17--- fortune-mod-3.18.0/fortune/fortune_with_offensive.docbook5.xml.orig 2022-10-28 12:15:20.000000000 +0200
18+++ fortune-mod-3.18.0/fortune/fortune_with_offensive.docbook5.xml 2023-03-07 20:54:40.271610329 +0100
19@@ -208,6 +208,12 @@ patterns.</para>
20 </listitem>
21 </varlistentry>
22 <varlistentry>
23+ <term><emphasis role='strong' remap='B'>-v</emphasis></term>
24+ <listitem>
25+ <para>Display version information and exit.</para>
26+ </listitem>
27+ </varlistentry>
28+ <varlistentry>
29 <term><emphasis role='strong' remap='B'>-w</emphasis></term>
30 <listitem>
31 <para>Wait before termination for an amount of time calculated from the
32--- fortune-mod-3.18.0/fortune/fortune_without_offensive.docbook5.xml.orig 2022-10-28 12:15:19.000000000 +0200
33+++ fortune-mod-3.18.0/fortune/fortune_without_offensive.docbook5.xml 2023-03-07 20:55:09.988116007 +0100
34@@ -174,6 +174,12 @@ patterns.</para>
35 </listitem>
36 </varlistentry>
37 <varlistentry>
38+ <term><emphasis role='strong' remap='B'>-v</emphasis></term>
39+ <listitem>
40+ <para>Display version information and exit.</para>
41+ </listitem>
42+ </varlistentry>
43+ <varlistentry>
44 <term><emphasis role='strong' remap='B'>-w</emphasis></term>
45 <listitem>
46 <para>Wait before termination for an amount of time calculated from the
47--- fortune-mod-3.18.0/fortune/fortune_with_offensive.template.man.orig 2022-10-28 12:15:20.000000000 +0200
48+++ fortune-mod-3.18.0/fortune/fortune_with_offensive.template.man 2023-03-07 20:57:03.934165375 +0100
49@@ -155,6 +155,13 @@ patterns\&.
50
51 .RE
52 .PP
53+\fB\-v\fR
54+.RS 4
55+
56+Display version information and exit\&.
57+
58+.RE
59+.PP
60 \fB\-w\fR
61 .RS 4
62
63--- fortune-mod-3.18.0/fortune/fortune_without_offensive.template.man.orig 2022-10-28 12:15:20.000000000 +0200
64+++ fortune-mod-3.18.0/fortune/fortune_without_offensive.template.man 2023-03-07 20:57:37.043986004 +0100
65@@ -132,6 +132,13 @@ patterns\&.
66
67 .RE
68 .PP
69+\fB\-v\fR
70+.RS 4
71+
72+Display version information and exit\&.
73+
74+.RE
75+.PP
76 \fB\-w\fR
77 .RS 4
78
This page took 0.142452 seconds and 4 git commands to generate.