summaryrefslogtreecommitdiff
path: root/src/usage_text.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-09-24 11:35:45 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-09-24 11:42:43 +0900
commit55f311a9084aba9f0601388183ff10abb0baac8c (patch)
treeb070d65cd15c4afb9cc3ed98e253d29bbe227abc /src/usage_text.h
parentc3aedf480dd4e224165d9b8b5ed8735191eede6c (diff)
Add --keep-unfinished-download-result option
This option keeps unfinished download results even if doing so exceeds --max-download-result. This is useful if all unfinished downloads must be saved in session file (see --save-session option). Please keep in mind that there is no upper bound to the number of unfinished download result to keep. User should use this option only when they know the total number of downloads in advance.
Diffstat (limited to 'src/usage_text.h')
-rw-r--r--src/usage_text.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usage_text.h b/src/usage_text.h
index 4a4bde97..a9240732 100644
--- a/src/usage_text.h
+++ b/src/usage_text.h
@@ -1099,5 +1099,14 @@
#define TEXT_STDERR \
_(" --stderr[=true|false] Redirect all console output that would be\n" \
" otherwise printed in stdout to stderr.")
-
+#define TEXT_KEEP_UNFINISHED_DOWNLOAD_RESULT \
+ _(" --keep-unfinished-download-result[=true|false]\n" \
+ " Keep unfinished download results even if doing\n" \
+ " so exceeds --max-download-result. This is useful\n" \
+ " if all unfinished downloads must be saved in\n" \
+ " session file (see --save-session option). Please\n" \
+ " keep in mind that there is no upper bound to the\n" \
+ " number of unfinished download result to keep.\n" \
+ " User should use this option only when they know\n" \
+ " the total number of downloads in advance.")
// clang-format on