summaryrefslogtreecommitdiff
path: root/src/usage_text.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-11-29 18:54:19 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-11-29 18:54:19 +0900
commit35f08f05efcb2c7503abe11af036e8533d5a7b71 (patch)
treeef64a0e85b0874ee1c87a8775d32af7217b337bb /src/usage_text.h
parent6a0638c158b3046c6f384267744897fa9d014ab0 (diff)
Add --bt-enable-hook-after-hash-check option
This option sets flag which allows hook command invocation after hash check (see -V option) in BitTorrent download. By default, when hash check succeeds, the command given by --on-bt-download-complete is executed. To disable this action, give false to this option.
Diffstat (limited to 'src/usage_text.h')
-rw-r--r--src/usage_text.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usage_text.h b/src/usage_text.h
index 9a4b93c3..09c4ae33 100644
--- a/src/usage_text.h
+++ b/src/usage_text.h
@@ -1046,3 +1046,10 @@
" Specifing 0 will disable this option. This value\n" \
" will be set to socket file descriptor using\n" \
" SO_RCVBUF socket option with setsockopt() call.")
+#define TEXT_BT_ENABLE_HOOK_AFTER_HASH_CHECK \
+ _(" --bt-enable-hook-after-hash-check[=true|false] Allow hook command invocation\n" \
+ " after hash check (see -V option) in BitTorrent\n" \
+ " download. By default, when hash check succeeds,\n" \
+ " the command given by --on-bt-download-complete\n" \
+ " is executed. To disable this action, give false\n" \
+ " to this option.")