From 2365c919941d8d5b7e316a4fe8f6d8f27ea9e8bf Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 21 Jun 2016 22:50:37 +0900 Subject: [PATCH] Document that -o is always relative to -d option --- doc/manual-src/en/aria2c.rst | 6 ++++-- src/usage_text.h | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst index ab7c1b36..0086ac51 100644 --- a/doc/manual-src/en/aria2c.rst +++ b/doc/manual-src/en/aria2c.rst @@ -232,8 +232,10 @@ HTTP/FTP/SFTP Options .. option:: -o, --out= - The file name of the downloaded file. When the - :option:`--force-sequential <-Z>` option is used, this option is ignored. + The file name of the downloaded file. It is always relative to the + directory given in :option:`--dir <-d>` option. When the + :option:`--force-sequential <-Z>` option is used, this option is + ignored. .. note:: diff --git a/src/usage_text.h b/src/usage_text.h index 65367346..6c30f84a 100644 --- a/src/usage_text.h +++ b/src/usage_text.h @@ -38,9 +38,10 @@ #define TEXT_DIR \ _(" -d, --dir=DIR The directory to store the downloaded file.") #define TEXT_OUT \ - _(" -o, --out=FILE The file name of the downloaded file. When \n" \ - " the -Z option is used, this option will be \n" \ - " ignored.") + _(" -o, --out=FILE The file name of the downloaded file. It is\n" \ + " always relative to the directory given in -d\n" \ + " option. When the -Z option is used, this option\n" \ + " will be ignored.") #define TEXT_LOG \ _(" -l, --log=LOG The file name of the log file. If '-' is\n" \ " specified, log is written to stdout.")