about summary refs log tree commit diff stats
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
parented433c3540e3ee1d89f15331688b7d48c063c626 (diff)
downloadrf-73565a09bde5f039b23069ab1c7a788c6243c249.tar.gz
Tidy up help text
Signed-off-by: Rory Bradford <roryrjb@gmail.com>
-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);
 }
730e6894 ^
ecfbbfb5 ^




730e6894 ^
ecfbbfb5 ^




730e6894 ^
ecfbbfb5 ^



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