ctdldump/ctdlload: add version number to banner
[citadel.git] / citadel / utils / ctdlload.c
index 0bb24e25dc1865930aa7749d67b99fb7bb2aa325..a4bdb50478940fb2406b1d9d16a9a63147ae5770 100644 (file)
@@ -763,11 +763,12 @@ int main(int argc, char **argv) {
        // display the greeting
        fprintf(stderr,
                "\033[44m\033[1m╔════════════════════════════════════════════════════════════════════════╗\033[0m\n"
-               "\033[44m\033[1m║ DB Load utility for Citadel                                            ║\033[0m\n"
+               "\033[44m\033[1m║ DB Load 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"
+               "\033[44m\033[1m╚════════════════════════════════════════════════════════════════════════╝\033[0m\n",
+               REV_LEVEL
        );
 
        // Parse command line