ctdldump/ctdlload: add version number to banner
[citadel.git] / citadel / utils / ctdldump.c
index aac23fcc8767c0d5b5207b46a230c65720322ec6..92966136ad0429d367dbf1347fe06dc970848616 100644 (file)
@@ -359,13 +359,14 @@ int main(int argc, char **argv) {
        char *ctdldir = CTDLDIR;
 
        // display the greeting
-       fprintf(stderr, "\033[44m\033[1m"
-               "╔════════════════════════════════════════════════════════════════════════╗\n"
-               "║ DB Dump utility for Citadel                                            ║\n"
-               "║ Copyright (c) 2023-2024 by citadel.org et al.                          ║\n"
-               "║ This program is open source software.  Use, duplication, or disclosure ║\n"
-               "║ is subject to the terms of the GNU General Public license v3.          ║\n"
-               "╚════════════════════════════════════════════════════════════════════════╝\033[0m\n"
+       fprintf(stderr,
+               "\033[44m\033[1m╔════════════════════════════════════════════════════════════════════════╗\033[0m\n"
+               "\033[44m\033[1m║ DB Dump utility for Citadel                               version %-4d ║\033[0m\n"
+               "\033[44m\033[1m║ Copyright (c) 2023-2024 by citadel.org et al.                          ║\033[0m\n"
+               "\033[44m\033[1m║ This program is open source software.  Use, duplication, or disclosure ║\033[0m\n"
+               "\033[44m\033[1m║ is subject to the terms of the GNU General Public license v3.          ║\033[0m\n"
+               "\033[44m\033[1m╚════════════════════════════════════════════════════════════════════════╝\033[0m\n",
+               REV_LEVEL
        );
 
        // Parse command line