From 8c7197d5c462f8ef4b340b81afefab5c79c5c04a Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 30 Sep 2020 23:59:27 +0200 Subject: [PATCH] Credit the source text in usage(). --- plocate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plocate.cpp b/plocate.cpp index 3e37544..87c3c17 100644 --- a/plocate.cpp +++ b/plocate.cpp @@ -399,6 +399,7 @@ void do_search_file(const vector &needles, const char *filename) void usage() { + // The help text comes from mlocate. printf("Usage: slocate [OPTION]... PATTERN...\n"); printf(" -d, --database DBPATH use DBPATH instead of default database (which is\n"); printf(" %s)\n", dbpath); -- 2.39.2