Set deprecated commands to be off by default. If needed use the '-D' option, however note that they will be removed permanently in the future.

This commit is contained in:
rakshasa
2014-05-16 01:14:47 +09:00
parent 8e69930cc4
commit e4e73aeee9
2 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ cmd_catch(rpc::target_type target, const torrent::Object& args) {
void
initialize_command_dynamic() {
CMD2_VAR_BOOL ("method.use_deprecated", true);
CMD2_VAR_BOOL ("method.use_deprecated", false);
CMD2_VAR_VALUE ("method.use_intermediate", 1);
CMD2_ANY_LIST ("method.insert", tr1::bind(&system_method_insert, tr1::placeholders::_2));