summaryrefslogtreecommitdiff
path: root/src/option_processing.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-03-14 21:02:25 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-03-14 21:02:25 +0900
commit3ddb68f34077159a1ee4ae87d663971a0f21fb1b (patch)
treeb7f3f6e87e3d8b06357b9b15d5e6fcd46578627a /src/option_processing.cc
parentf0cfbb21c1c0e68aef0de8e2380ac744be832d13 (diff)
Deprecated --enable-xml-rpc and --xml-rpc-* option. Introduced
--enable-rpc and --rpc-* option instead. --enable-xml-rpc and --xml-rpc-* option can be used but warning message will be shown. The help tag #xml-rpc was replaced with #rpc.
Diffstat (limited to 'src/option_processing.cc')
-rw-r--r--src/option_processing.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_processing.cc b/src/option_processing.cc
index 41485656..97b2aa5b 100644
--- a/src/option_processing.cc
+++ b/src/option_processing.cc
@@ -184,7 +184,7 @@ void option_processing(Option& op, std::vector<std::string>& uris,
showUsage(TAG_HELP, oparser);
exit(e.getErrorCode());
}
- if(!op.getAsBool(PREF_ENABLE_XML_RPC) &&
+ if(!op.getAsBool(PREF_ENABLE_RPC) &&
#ifdef ENABLE_BITTORRENT
op.blank(PREF_TORRENT_FILE) &&
#endif // ENABLE_BITTORRENT