diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-02-02 17:34:07 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-02-02 17:34:07 +0900 |
| commit | 7f6987a4b4950e77597fd1a4fd5d8c60e6209f07 (patch) | |
| tree | 8f7e29ddad65e1bf61abb406f01a4a342536c9f4 /src/usage_text.h | |
| parent | 30e4077440e93a9e78cf55a3a1a4e295ae5e9a72 (diff) | |
Implement new RPC authorization using --rpc-secret option
Diffstat (limited to 'src/usage_text.h')
| -rw-r--r-- | src/usage_text.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/usage_text.h b/src/usage_text.h index 914af5ce..b1c7fc7c 100644 --- a/src/usage_text.h +++ b/src/usage_text.h @@ -770,11 +770,11 @@ " option is useful when the system does not have\n" \ " /etc/resolv.conf and user does not have the\n" \ " permission to create it.") -#define TEXT_ENABLE_RPC \ - _(" --enable-rpc[=true|false] Enable JSON-RPC/XML-RPC server.\n" \ - " It is strongly recommended to set username and\n" \ - " password using --rpc-user and --rpc-passwd\n" \ - " option. See also --rpc-listen-port option.") +#define TEXT_ENABLE_RPC \ + _(" --enable-rpc[=true|false] Enable JSON-RPC/XML-RPC server.\n" \ + " It is strongly recommended to set secret\n" \ + " authorization token using --rpc-secret option.\n" \ + " See also --rpc-listen-port option.") #define TEXT_RPC_MAX_REQUEST_SIZE \ _(" --rpc-max-request-size=SIZE Set max size of JSON-RPC/XML-RPC request. If aria2\n" \ " detects the request is more than SIZE bytes, it\n" \ @@ -960,3 +960,5 @@ " when aria2 exits.") #define TEXT_ENABLE_COLOR \ _(" --enable-color[=true|false] Enable color output for a terminal.") +#define TEXT_RPC_SECRET \ + _(" --rpc-secret=TOKEN Set RPC secret authorization token.") |
