diff options
Diffstat (limited to 'server/src/macrotool.cc')
-rw-r--r-- | server/src/macrotool.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/server/src/macrotool.cc b/server/src/macrotool.cc index 44beeef..11c634e 100644 --- a/server/src/macrotool.cc +++ b/server/src/macrotool.cc @@ -41,6 +41,7 @@ #include "macrotool_dump.h" #include "macrotool_fieldnames.h" +#include "macrotool_filehandler.h" static const char version_str[] = "Pracro server v" VERSION "\n" @@ -65,9 +66,10 @@ static const char usage_str[] = " -D, --debug ddd Enable debug messages on 'ddd'; see documentation for details\n" "\n" "Commands:\n" -" dump entity Dumps 'entity' to screen ('dump help' to see list of entities).\n" -" fieldnames entity Add/delete/update entries in the fieldnames database\n" -" ('fieldnames help' to see list of entities).\n" +" dump entity Dumps 'entity' to screen ('dump help' to see list of entities).\n" +" fieldnames entity Add/delete/update entries in the fieldnames database\n" +" ('fieldnames help' to see list of entities).\n" +" filehandler entity Handle macro files ('macrohandler help' to see list of entities).\n" ; ConfigurationParser *configparser = NULL; @@ -152,6 +154,7 @@ int main(int argc, char *argv[]) if(command == "dump") macrotool_dump(params); if(command == "fieldnames") macrotool_fieldnames(params); + if(command == "filehandler") macrotool_filehandler(params); // Clean up if(configfile) free(configfile); |