]> git.sesse.net Git - plocate/commitdiff
Credit the source text in usage().
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Wed, 30 Sep 2020 21:59:27 +0000 (23:59 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Wed, 30 Sep 2020 21:59:27 +0000 (23:59 +0200)
plocate.cpp

index 3e375449a4ee2b438ff0a9fc68151134d5518e8f..87c3c1775a564acc0369d6e09f1d79230acd73e6 100644 (file)
@@ -399,6 +399,7 @@ void do_search_file(const vector<string> &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);