mirror of https://github.com/aria2/aria2
Removed unused preferences.
parent
d309c425a3
commit
3fe4e84443
12
src/prefs.cc
12
src/prefs.cc
|
@ -171,18 +171,6 @@ const std::string PREF_RPC_LISTEN_ALL("rpc-listen-all");
|
|||
// value: true | false
|
||||
const std::string PREF_RPC_ALLOW_ORIGIN_ALL("rpc-allow-origin-all");
|
||||
// value: true | false
|
||||
const std::string PREF_ENABLE_XML_RPC("enable-xml-rpc");
|
||||
// value: 1*digit
|
||||
const std::string PREF_XML_RPC_LISTEN_PORT("xml-rpc-listen-port");
|
||||
// value: string
|
||||
const std::string PREF_XML_RPC_USER("xml-rpc-user");
|
||||
// value: string
|
||||
const std::string PREF_XML_RPC_PASSWD("xml-rpc-passwd");
|
||||
// value: 1*digit
|
||||
const std::string PREF_XML_RPC_MAX_REQUEST_SIZE("xml-rpc-max-request-size");
|
||||
// value: true | false
|
||||
const std::string PREF_XML_RPC_LISTEN_ALL("xml-rpc-listen-all");
|
||||
// value: true | false
|
||||
const std::string PREF_DRY_RUN("dry-run");
|
||||
// value: true | false
|
||||
const std::string PREF_REUSE_URI("reuse-uri");
|
||||
|
|
12
src/prefs.h
12
src/prefs.h
|
@ -174,18 +174,6 @@ extern const std::string PREF_RPC_LISTEN_ALL;
|
|||
// value: true | false
|
||||
extern const std::string PREF_RPC_ALLOW_ORIGIN_ALL;
|
||||
// value: true | false
|
||||
extern const std::string PREF_ENABLE_XML_RPC;
|
||||
// value: 1*digit
|
||||
extern const std::string PREF_XML_RPC_LISTEN_PORT;
|
||||
// value: string
|
||||
extern const std::string PREF_XML_RPC_USER;
|
||||
// value: string
|
||||
extern const std::string PREF_XML_RPC_PASSWD;
|
||||
// value: 1*digit
|
||||
extern const std::string PREF_XML_RPC_MAX_REQUEST_SIZE;
|
||||
// value: true | false
|
||||
extern const std::string PREF_XML_RPC_LISTEN_ALL;
|
||||
// value: true | false
|
||||
extern const std::string PREF_DRY_RUN;
|
||||
// value: true | false
|
||||
extern const std::string PREF_REUSE_URI;
|
||||
|
|
|
@ -771,19 +771,6 @@
|
|||
#define TEXT_RPC_LISTEN_PORT \
|
||||
_(" --rpc-listen-port=PORT Specify a port number for JSON-RPC/XML-RPC server\n" \
|
||||
" to listen to.")
|
||||
#define TEXT_ENABLE_XML_RPC \
|
||||
_(" --enable-xml-rpc[=true|false] Deprecated. Use --enable-rpc instead.")
|
||||
#define TEXT_XML_RPC_MAX_REQUEST_SIZE \
|
||||
_(" --xml-rpc-max-request-size=SIZE Deprecated. Use --rpc-max-request-size\n" \
|
||||
" instead.")
|
||||
#define TEXT_XML_RPC_USER \
|
||||
_(" --xml-rpc-user=USER Deprecated. Use --rpc-user instead.")
|
||||
#define TEXT_XML_RPC_PASSWD \
|
||||
_(" --xml-rpc-passwd=PASSWD Deprecated. Use --rpc-passwd instead.")
|
||||
#define TEXT_XML_RPC_LISTEN_ALL \
|
||||
_(" --xml-rpc-listen-all[=true|false] Deprecated. Use --rpc-listen-all instead.")
|
||||
#define TEXT_XML_RPC_LISTEN_PORT \
|
||||
_(" --xml-rpc-listen-port=PORT Deprecated. Use --rpc-listen-port instead.")
|
||||
#define TEXT_SHOW_CONSOLE_READOUT \
|
||||
_(" --show-console-readout[=true|false] Show console readout.")
|
||||
#define TEXT_METALINK_BASE_URI \
|
||||
|
|
Loading…
Reference in New Issue