From: Steinar H. Gunderson Date: Wed, 30 Sep 2020 21:59:27 +0000 (+0200) Subject: Credit the source text in usage(). X-Git-Tag: 1.0.0~76 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8c7197d5c462f8ef4b340b81afefab5c79c5c04a;p=plocate Credit the source text in usage(). --- 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);