diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst index 00853031..af5bbadb 100644 --- a/doc/manual-src/en/aria2c.rst +++ b/doc/manual-src/en/aria2c.rst @@ -1089,7 +1089,7 @@ Advanced Options unit and it is reordered by the offset of the file. If hash checking is involved and the data are cached in memory, we don't need to read them from the disk. SIZE can include ``K`` or ``M`` - (1K = 1024, 1M = 1024K). Default: ``0`` + (1K = 1024, 1M = 1024K). Default: ``16M`` .. option:: --download-result= diff --git a/doc/manual-src/pt/aria2c.rst b/doc/manual-src/pt/aria2c.rst index 5416f6fb..16a842c7 100644 --- a/doc/manual-src/pt/aria2c.rst +++ b/doc/manual-src/pt/aria2c.rst @@ -1154,7 +1154,7 @@ Opções Avançadas unit and it is reordered by the offset of the file. If hash checking is involved and the data are cached in memory, we don't need to read them from the disk. SIZE can include ``K`` or ``M`` - (1K = 1024, 1M = 1024K). Default: ``0`` + (1K = 1024, 1M = 1024K). Default: ``16M`` .. option:: --download-result= diff --git a/doc/manual-src/ru/aria2c.rst b/doc/manual-src/ru/aria2c.rst index 073e6f7d..f0fa9af3 100644 --- a/doc/manual-src/ru/aria2c.rst +++ b/doc/manual-src/ru/aria2c.rst @@ -1171,7 +1171,7 @@ FTP, BitTorrent и Metalink. Для загрузки файла, aria2 може т.к. данные записываются большими блоками, и они распределяются через смещение в файле. Если задействована хэш-проверка и данные кэшируются в памяти, то мы не должны читать их с диска. SIZE может включать букву - ``K`` или ``M`` (1K = 1024, 1M = 1024K). По умолчанию: ``0`` + ``K`` или ``M`` (1K = 1024, 1M = 1024K). По умолчанию: ``16M`` .. option:: --download-result= diff --git a/src/OptionHandlerFactory.cc b/src/OptionHandlerFactory.cc index aa4809fb..59a61423 100644 --- a/src/OptionHandlerFactory.cc +++ b/src/OptionHandlerFactory.cc @@ -210,7 +210,7 @@ std::vector OptionHandlerFactory::createOptionHandlers() OptionHandler* op(new UnitNumberOptionHandler (PREF_DISK_CACHE, TEXT_DISK_CACHE, - "0", + "16M", 0)); op->addTag(TAG_ADVANCED); handlers.push_back(op);