]> code.citadel.org Git - citadel.git/blobdiff - citadel/utils/dbnothing.c
It is the current year. (c)-2024
[citadel.git] / citadel / utils / dbnothing.c
index 914f9631f27be77e9da1348e82625fbacacc6142..005abfb7edeaf4cad6bf6e234ac9b18abbabd99a 100644 (file)
@@ -1,6 +1,7 @@
-// Don't run this.  It doesn't work and if you try to run it you will immediately die.
+// This is a test utility for the backend API.  It simply opens and closes the databases.
+// There is no need for end users to ever run this program.  So don't.  And don't ask.
 //
-// Copyright (c) 2023 by Art Cancro citadel.org
+// Copyright (c) 2024 by Art Cancro citadel.org
 //
 // This program is open source software.  Use, duplication, or disclosure
 // is subject to the terms of the GNU General Public License, version 3.
@@ -39,7 +40,7 @@ int main(int argc, char **argv) {
        // display the greeting
        fprintf(stderr, "\033[44m\033[33m\033[1m \033[K\033[0m\n"
                        "\033[44m\033[33m\033[1m dbnothing utility for Citadel \033[K\033[0m\n"
-                       "\033[44m\033[33m\033[1m Copyright (c) 2023 by citadel.org et al.  \033[K\033[0m\n"
+                       "\033[44m\033[33m\033[1m Copyright (c) 2023-2024 by citadel.org et al.  \033[K\033[0m\n"
                        "\033[44m\033[33m\033[1m This program is open source software.  Use, duplication, or disclosure \033[K\033[0m\n"
                        "\033[44m\033[33m\033[1m is subject to the terms of the GNU General Public license v3. \033[K\033[0m\n"
                        "\033[44m\033[33m\033[1m \033[K\033[0m\n");
@@ -70,7 +71,7 @@ int main(int argc, char **argv) {
        cdb_open_databases();
 
        // do nothing
-       fprintf(stderr, "dbnothing: doing nothing\n");
+       fprintf(stderr, "\ndbnothing: doing nothing\n\n");
 
        // close databases
        cdb_close_databases();