diff --git a/plugins/skeleton/skeleton.cpp b/plugins/skeleton/skeleton.cpp index ddee958da..374e5d8f3 100644 --- a/plugins/skeleton/skeleton.cpp +++ b/plugins/skeleton/skeleton.cpp @@ -47,7 +47,7 @@ DFhackCExport command_result plugin_init(color_ostream &out, std::vector \n" " explanation of plugin/command\n" "\n" diff --git a/plugins/skeleton/skeletonShort.cpp b/plugins/skeleton/skeletonShort.cpp index 830f2c6a5..92fed687f 100644 --- a/plugins/skeleton/skeletonShort.cpp +++ b/plugins/skeleton/skeletonShort.cpp @@ -1,37 +1,58 @@ -#include "Console.h" #include "Core.h" -#include "DataDefs.h" -#include "Export.h" -#include "PluginManager.h" +#include +#include +#include +#include //#include "df/world.h" using namespace DFHack; +using namespace df::enums; DFHACK_PLUGIN("skeleton2"); +DFHACK_PLUGIN_IS_ENABLED(enabled); //REQUIRE_GLOBAL(world); command_result skeleton2 (color_ostream &out, std::vector & parameters); -DFhackCExport command_result plugin_init (color_ostream &out, std::vector &commands) -{ - commands.push_back(PluginCommand( - "skeleton2", - "shortHelpString", - skeleton2, - false, //allow non-interactive use - "longHelpString" - )); +DFhackCExport command_result plugin_init (color_ostream &out, std::vector &commands) { + commands.push_back(PluginCommand("skeleton2", + "~54 character description of plugin", //to use one line in the ``[DFHack]# ls`` output + skeleton2, + false, + "example usage" + " skeleton2