about summary refs log tree commit diff stats
path: root/rf.c
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2020-04-14 16:28:22 +0100
committerRory Bradford <roryrjb@gmail.com>2020-04-14 16:28:22 +0100
commit73565a09bde5f039b23069ab1c7a788c6243c249 (patch)
tree6160b24285454bbcd64c1828351fdf4080219362 /rf.c
parented433c3540e3ee1d89f15331688b7d48c063c626 (diff)
downloadrf-73565a09bde5f039b23069ab1c7a788c6243c249.tar.gz
Tidy up help text
Signed-off-by: Rory Bradford <roryrjb@gmail.com>
Diffstat (limited to 'rf.c')
-rw-r--r--rf.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/rf.c b/rf.c
index 1bd532a..6073f06 100644
--- a/rf.c
+++ b/rf.c
@@ -33,15 +33,14 @@ static int usage(char *error) {
 		fprintf(stderr, "Error: %s\n\n", error);
 	}
 
-	fprintf(stderr, "Usage: %s [OPTIONS]\n", NAME);
-	fprintf(stderr, "\nOptions:\n");
+	fprintf(stderr, "Usage: %s [OPTIONS] PATTERNS...\n\n", NAME);
+	fprintf(stderr, "Options:\n");
 	fprintf(stderr, "  --basename, -b   only show basename in results\n");
 	fprintf(stderr, "  --dirname, -d    only show dirname in results\n");
 	fprintf(stderr, "  --invert, -v     invert matching\n");
-	fprintf(stderr, "  --limit=n        limit to [n] results, allif 0\n");
-	fprintf(stderr, "\n  --help, -h       show help\n");
-	fprintf(stderr, "  --version, -V    show version\n");
-	fprintf(stderr, "\n");
+	fprintf(stderr, "  --limit=n        limit to [n] results\n\n");
+	fprintf(stderr, "  --help, -h       show help\n");
+	fprintf(stderr, "  --version, -V    show version\n\n");
 
 	return version(error);
 }
c2e7a3f55'>58bc15b ^
58a0f43 ^
58bc15b ^

58a0f43 ^
58bc15b ^









062f00e ^
c295508 ^


58bc15b ^



c4c8648 ^


58bc15b ^



















































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149