diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-10-16 00:18:34 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-10-16 00:18:34 +0900 |
| commit | a9c76ed35e3b6025b68f85d8e1d1efd339e735f6 (patch) | |
| tree | ae34cab97605e3f31b9ea4f7d3a58a6ebe2bb05b /src/prefs.cc | |
| parent | 4a4fec2c8c17dad5d1983adeb1857c1a082e75f0 (diff) | |
Added --rpc-save-upload-metadata option
If true is given, which is default, save the uploaded torrent or
metalink metadata in the directory specified by --dir option. The
filename consists of SHA1-hash hex string of metadata plus
extension. For torrent, the extension is '.torrent'. For metalink, it
is '.meta4'. If false is given to this option, the downloads added by
aria2.addTorrent or aria2.addMetalink will not be saved by
--save-session option.
Diffstat (limited to 'src/prefs.cc')
| -rw-r--r-- | src/prefs.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prefs.cc b/src/prefs.cc index 70a9a0c2..052e4526 100644 --- a/src/prefs.cc +++ b/src/prefs.cc @@ -277,6 +277,8 @@ const Pref* PREF_RPC_PRIVATE_KEY = makePref("rpc-private-key"); // value: true | false const Pref* PREF_RPC_SECURE = makePref("rpc-secure"); // value: true | false +const Pref* PREF_RPC_SAVE_UPLOAD_METADATA = makePref("rpc-save-upload-metadata"); +// value: true | false const Pref* PREF_DRY_RUN = makePref("dry-run"); // value: true | false const Pref* PREF_REUSE_URI = makePref("reuse-uri"); |
