src/dbtool.c
changeset 31 bbcb8a3366b4
parent 27 4a2f7a1492ab
child 62 2d6419d6d4ed
equal deleted inserted replaced
30:eed9f710ba3b 31:bbcb8a3366b4
     9 #include <getopt.h>
     9 #include <getopt.h>
    10 
    10 
    11 #include <database.h>
    11 #include <database.h>
    12 
    12 
    13 #ifndef FILE_NAME
    13 #ifndef FILE_NAME
    14 #define FILE_NAME "/var/lib/nobody/data/mcbot.dat"
    14 #define FILE_NAME "/var/lib/mcbot/data/mcbot.dat"
    15 #endif
    15 #endif
    16 
    16 
    17 void help (char *prgname)
    17 void help (char *prgname)
    18 {
    18 {
    19     printf ("Usage: %s {-a|-r} -k <key> -v <value>] [-f <file>]\n", prgname);
    19     printf ("Usage: %s {-a|-r} -k <key> -v <value>] [-f <file>]\n", prgname);