]> git.pld-linux.org Git - packages/fortune-mod.git/blob - fortune-mod-usage.patch
- missing usage information
[packages/fortune-mod.git] / fortune-mod-usage.patch
1 --- fortune-mod-1.99.1/fortune/fortune.c.orig   2004-03-05 14:29:56.000000000 +0100
2 +++ fortune-mod-1.99.1/fortune/fortune.c        2004-03-07 18:21:39.218004384 +0100
3 @@ -267,11 +267,11 @@
4  void usage(void)
5  {
6      (void) fprintf(stderr, "%s\n",program_version());
7 -    (void) fprintf(stderr, "fortune [-a");
8 +    (void) fprintf(stderr, "fortune [-ac");
9  #ifdef DEBUG
10      (void) fprintf(stderr, "D");
11  #endif /* DEBUG */
12 -    (void) fprintf(stderr, "f");
13 +    (void) fprintf(stderr, "ef");
14  #ifndef        NO_REGEX
15      (void) fprintf(stderr, "i");
16  #endif /* NO_REGEX */
17 --- fortune-mod-1.99.1/fortune/fortune.6.orig   2004-03-05 14:29:56.000000000 +0100
18 +++ fortune-mod-1.99.1/fortune/fortune.6        2004-03-07 18:23:38.720837192 +0100
19 @@ -44,8 +44,9 @@
20  .Nd print a random, hopefully interesting, adage
21  .Sh SYNOPSIS
22  .Nm fortune
23 -.Op Fl aefilosw
24 +.Op Fl acefilosw
25  .Op Fl m Ar pattern 
26 +.Op Fl n Ar number
27  .Oo 
28  .Op Ar N% 
29  .Ar file/dir/all
30 @@ -64,6 +65,8 @@
31  (See the
32  .Fl o
33  option for more information on offensive fortunes.)
34 +.It Fl c
35 +Show the name of fortune file displayed maxim comes from.
36  .It Fl e
37  Consider all fortune files to be of equal size (see discussion below
38  on multiple files).
39 @@ -78,6 +81,9 @@
40  See
41  .Xr regex 3
42  for a description of patterns.
43 +.It Fl n
44 +Set maximum number of character in a "short" fortune (to be used
45 +instead of default 160).
46  .It Fl o
47  Choose only from potentially offensive aphorisms.
48  .Bf -symbolic
49 @@ -110,6 +116,8 @@
50  number of characters in the message.
51  This is useful if it is executed as part of the logout procedure
52  to guarantee that the message can be read before the screen is cleared.
53 +.It Fl v
54 +Display version information and exit.
55  .El
56  .Pp
57  The user may specify alternate sayings.
This page took 0.110439 seconds and 3 git commands to generate.