From e599f4b1e1a361d5be99d78b4882b109df89a3b2 Mon Sep 17 00:00:00 2001 From: Casey Link Date: Sat, 22 Nov 2014 18:32:19 +0100 Subject: [PATCH] stockpiles: more user documentation --- plugins/stockpiles.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/stockpiles.cpp b/plugins/stockpiles.cpp index a98773234..1a3cc1fbf 100644 --- a/plugins/stockpiles.cpp +++ b/plugins/stockpiles.cpp @@ -92,18 +92,22 @@ DFhackCExport command_result plugin_init ( color_ostream &out, std::vector : filename to save stockpile settings to (will overwrite!)\n" + " : filename to save stockpile settings to (will be overwriten!)\n" ) ); commands.push_back ( PluginCommand ( - "loadstock", "Import stockpile settings and apply them to the stockpile under cursor.", + "loadstock", "Load settings from a file and apply them to the active stockpile.", loadstock, loadstock_guard, + "Must be in 'q' mode and have a stockpile selected.\n" + "example: 'loadstock food.dfstock' will load the settings from 'food.dfstock'\nin your stockpile folder and apply them to the selected stockpile.\n\n" " -d, --debug: enable debug output\n" - " : filename to load stockpile settings from\n" + " : filename to load stockpile settings from\n" ) ); }