]> code.citadel.org Git - citadel.git/blobdiff - citadel/utils/ctdldump.c
It is the current year. (c)-2024
[citadel.git] / citadel / utils / ctdldump.c
index cf7257813c5d232a4de3ffc19f6b33002b5d88c4..1605ae9e3f21f78f2a9fdf867e544ddae57b362f 100644 (file)
@@ -1,6 +1,6 @@
-// Don't run this.  It doesn't work and if you try to run it you will immediately die.
+// Dump the Citadel database to a flat file that can be restored by ctdlload on any architecture
 //
-// 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.
@@ -361,7 +361,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 DB Dump 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");
@@ -387,7 +387,8 @@ int main(int argc, char **argv) {
        }
        else {
                fprintf(stderr, "ctdldump: usage: ctdldump -y -h[citadel_dir] >[dump_file]\n");
-               fprintf(stderr, "          [citadel_dir] is your server directory, usually /usr/local/citadel\n");
+               fprintf(stderr, "          -y : yes, I know this program can do damage and I want to run it anyway.\n");
+               fprintf(stderr, "          -h : [citadel_dir] is your server directory, usually /usr/local/citadel\n");
                fprintf(stderr, "          Please read [ https://www.citadel.org/dump-and-load.html ] to learn how to proceed.\n");
                exit(1);
        }