diff --git a/plugins/devel/CMakeLists.txt b/plugins/devel/CMakeLists.txt index 688c2253d..b212f688c 100644 --- a/plugins/devel/CMakeLists.txt +++ b/plugins/devel/CMakeLists.txt @@ -13,7 +13,6 @@ DFHACK_PLUGIN(memview memview.cpp) DFHACK_PLUGIN(nestboxes nestboxes.cpp) DFHACK_PLUGIN(notes notes.cpp) DFHACK_PLUGIN(onceExample onceExample.cpp) -DFHACK_PLUGIN(printArgs printArgs.cpp) DFHACK_PLUGIN(rprobe rprobe.cpp) DFHACK_PLUGIN(stepBetween stepBetween.cpp) DFHACK_PLUGIN(stockcheck stockcheck.cpp) diff --git a/plugins/devel/printArgs.cpp b/plugins/devel/printArgs.cpp deleted file mode 100644 index 051c7b1dc..000000000 --- a/plugins/devel/printArgs.cpp +++ /dev/null @@ -1,32 +0,0 @@ - -#include "Console.h" -#include "Core.h" -#include "DataDefs.h" -#include "Export.h" -#include "PluginManager.h" - -#include - -using namespace DFHack; -using namespace std; - -command_result printArgs (color_ostream &out, std::vector & parameters); - -DFHACK_PLUGIN("printArgs"); - -DFhackCExport command_result plugin_init ( color_ostream &out, std::vector &commands) -{ - commands.push_back(PluginCommand( - "printArgs", "Print the arguments given.", - printArgs, false - )); - return CR_OK; -} - -command_result printArgs (color_ostream &out, std::vector & parameters) -{ - for ( size_t a = 0; a < parameters.size(); a++ ) { - out << "Argument " << (a+1) << ": \"" << parameters[a] << "\"" << endl; - } - return CR_OK; -}