]> git.pld-linux.org Git - packages/fortune-mod.git/commitdiff
- missing usage information
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 7 Mar 2004 17:23:11 +0000 (17:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fortune-mod-usage.patch -> 1.1

fortune-mod-usage.patch [new file with mode: 0644]

diff --git a/fortune-mod-usage.patch b/fortune-mod-usage.patch
new file mode 100644 (file)
index 0000000..79c92b9
--- /dev/null
@@ -0,0 +1,57 @@
+--- fortune-mod-1.99.1/fortune/fortune.c.orig  2004-03-05 14:29:56.000000000 +0100
++++ fortune-mod-1.99.1/fortune/fortune.c       2004-03-07 18:21:39.218004384 +0100
+@@ -267,11 +267,11 @@
+ void usage(void)
+ {
+     (void) fprintf(stderr, "%s\n",program_version());
+-    (void) fprintf(stderr, "fortune [-a");
++    (void) fprintf(stderr, "fortune [-ac");
+ #ifdef        DEBUG
+     (void) fprintf(stderr, "D");
+ #endif /* DEBUG */
+-    (void) fprintf(stderr, "f");
++    (void) fprintf(stderr, "ef");
+ #ifndef       NO_REGEX
+     (void) fprintf(stderr, "i");
+ #endif /* NO_REGEX */
+--- fortune-mod-1.99.1/fortune/fortune.6.orig  2004-03-05 14:29:56.000000000 +0100
++++ fortune-mod-1.99.1/fortune/fortune.6       2004-03-07 18:23:38.720837192 +0100
+@@ -44,8 +44,9 @@
+ .Nd print a random, hopefully interesting, adage
+ .Sh SYNOPSIS
+ .Nm fortune
+-.Op Fl aefilosw
++.Op Fl acefilosw
+ .Op Fl m Ar pattern 
++.Op Fl n Ar number
+ .Oo 
+ .Op Ar N% 
+ .Ar file/dir/all
+@@ -64,6 +65,8 @@
+ (See the
+ .Fl o
+ option for more information on offensive fortunes.)
++.It Fl c
++Show the name of fortune file displayed maxim comes from.
+ .It Fl e
+ Consider all fortune files to be of equal size (see discussion below
+ on multiple files).
+@@ -78,6 +81,9 @@
+ See
+ .Xr regex 3
+ for a description of patterns.
++.It Fl n
++Set maximum number of character in a "short" fortune (to be used
++instead of default 160).
+ .It Fl o
+ Choose only from potentially offensive aphorisms.
+ .Bf -symbolic
+@@ -110,6 +116,8 @@
+ number of characters in the message.
+ This is useful if it is executed as part of the logout procedure
+ to guarantee that the message can be read before the screen is cleared.
++.It Fl v
++Display version information and exit.
+ .El
+ .Pp
+ The user may specify alternate sayings.
This page took 0.119665 seconds and 4 git commands to generate.