diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-11 10:40:17 +0100 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-11 10:40:17 +0100 |
| commit | 80ecd9dcd3d3b75ef46a2f48a309b7458adeb58c (patch) | |
| tree | c8580e0965e0953755170e5451d2065af8c151a1 /src/main.c | |
| parent | 5c94ef2db4afc33e0c91317e63723ae3333a41f1 (diff) | |
Change the database name
Also properly define it at compile-time. Later, it will likely be moved
to "$HOME/.cache/ftag/ftag.sqlite3".
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ #include <stdlib.h> #include <string.h> -#define DATABASE_PATH "ftag.db" +#define DATABASE_PATH (FTAG_ROOT "/ftag.sqlite3") static void ftag_init(int, char **); static void ftag_help(int, char **); @@ -43,6 +43,8 @@ static void ftag_help(int, char **) printf("Available values for COMMAND:\n"); printf(" init initialize the database\n"); printf(" help print this message\n"); + printf("Configuration:\n"); + printf(" database path %s\n", DATABASE_PATH); } static void parse_args(int argc, |
