From 62cde2ed8baf66de7ae074d17b6708886326ab7f Mon Sep 17 00:00:00 2001 From: Rory Bradford Date: Sun, 1 Dec 2019 13:44:46 +0000 Subject: Fix argument syntax in docs Signed-off-by: Rory Bradford --- rf.1 | 2 +- rf.c | 2 +- 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"); -- cgit 1.4.1-2-gfad0