summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-29 19:46:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-29 19:46:39 +0300
commitdeca767aa228a9b05cd87d2fd8ff536079000893 (patch)
tree9097658c96f74191856b02b0f92aeb52939f4c7d /src/commands.h
parentf4c2f2e5300c4504e555760094ad4929e2ed2d13 (diff)
downloadmv-deca767aa228a9b05cd87d2fd8ff536079000893.tar.gz
mv-deca767aa228a9b05cd87d2fd8ff536079000893.tar.bz2
mv-deca767aa228a9b05cd87d2fd8ff536079000893.tar.xz
mv-deca767aa228a9b05cd87d2fd8ff536079000893.zip
Add chat command to dump environment variables to log.
New chat command: /dumpe
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index 2f746b9e2..ce357feed 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -108,6 +108,7 @@ namespace Commands
decHandler(open);
decHandler(dump);
decHandler(dumpGraphics);
+ decHandler(dumpEnvironment);
decHandler(dumpTests);
decHandler(dumpOGL);
decHandler(cacheInfo);
@@ -182,6 +183,7 @@ static const CommandInfo commands[] =
{"setdrop", &Commands::setDrop},
{"error", &Commands::error},
{"dumpg", &Commands::dumpGraphics},
+ {"dumpe", &Commands::dumpEnvironment},
{"dumpt", &Commands::dumpTests},
{"dumpogl", &Commands::dumpOGL},
{"url", &Commands::url},