diff options
Diffstat (limited to 'src/dmtool.cc')
-rw-r--r-- | src/dmtool.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dmtool.cc b/src/dmtool.cc index 3aec8b2..b94540c 100644 --- a/src/dmtool.cc +++ b/src/dmtool.cc @@ -13,6 +13,7 @@ const std::map<std::string, std::vector<int>> nargs({ {"damage", {2, 3}}, {"heal", {2}}, {"spellcasting", {2, 3, 4}}, + {"create", {3}} }); void checkArgs(std::string cmd, std::vector<std::string> args) { @@ -87,6 +88,7 @@ int main(int argc, char *argv[]) { else if(cmd == "del") std::cout << cmd::del(args); else if(cmd == "edit") std::cout << cmd::edit(args); else if(cmd == "spellcasting") std::cout << cmd::spellcasting(args); + else if(cmd == "create") std::cout << cmd::create(args); else if(cmd == "git") std::cout << cmd::git(argsWithFlags); else if(cmd == "help") std::cout << cmd::usage(exename); else std::cout << cmd::list(argsOrig); |