about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2019-12-01 13:44:46 +0000
committerRory Bradford <roryrjb@gmail.com>2019-12-01 13:44:46 +0000
commit62cde2ed8baf66de7ae074d17b6708886326ab7f (patch)
tree432d4aacac57ea2f811593febcb7bdd0416bd8d9
parent378a66aa4a6e454dbb6e1117c37dafe04950a9fd (diff)
downloadrf-62cde2ed8baf66de7ae074d17b6708886326ab7f.tar.gz
Fix argument syntax in docs
Signed-off-by: Rory Bradford <roryrjb@gmail.com>
-rw-r--r--rf.12
-rw-r--r--rf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/rf.1 b/rf.1
index 520bf7c..6ace09f 100644
--- a/rf.1
+++ b/rf.1
@@ -33,7 +33,7 @@ Only show the basename of results.
 Invert matches.
 
 .TP
-.B "\-\-limit [n]"
+.B "\-\-limit=[n]"
 .br
 Limit to [n] matches. The default is 0 which will return all matches.
 
diff --git a/rf.c b/rf.c
index 9f5233e..bbcea86 100644
--- a/rf.c
+++ b/rf.c
@@ -39,7 +39,7 @@ int usage(char *error) {
   fprintf(stderr, "  --basename, -b   only show basename in results\n");
   fprintf(stderr, "  --invert, -v     invert matching\n");
   fprintf(stderr,
-          "  --limit n        limit to [n] results, all if 0 [default=0]\n");
+          "  --limit=n        limit to [n] results, all if 0 [default=0]\n");
 
   fprintf(stderr, "\n  --help, -h       show help\n");
   fprintf(stderr, "  --version, -V    show version\n");