Explorar o código

Fix doc: Wrong rpc secret token prefix

Tatsuhiro Tsujikawa %!s(int64=11) %!d(string=hai) anos
pai
achega
3b68e1d08c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      doc/manual-src/en/aria2c.rst

+ 1 - 1
doc/manual-src/en/aria2c.rst

@@ -2118,7 +2118,7 @@ will removed from the parameter list before the request is being processed.
 For example, if the RPC secret authorization token is ``$$secret$$``,
 calling `aria2.addUri` RPC method would have to look like this::
 
-  aria2.addUri("token::$$secret$$", ["http://example.org/file"])
+  aria2.addUri("token:$$secret$$", ["http://example.org/file"])
 
 The `system.multicall` RPC method is treated specially. Since the XML-RPC
 specification only allows a single array as a parameter for this method, we