summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index ce1faa1c..231b6c73 100644
--- a/src/session.h
+++ b/src/session.h
@@ -107,6 +107,13 @@ public:
OPTION(session_t, download); // -Q
OPTION__
+ (session_t, leeway_,
+ CTOR(session_t, leeway_) { value = 24L * 3600L; }
+ DO_(args) {
+ value = args[0].to_long() * 60L;
+ });
+
+ OPTION__
(session_t, file_, // -f
std::list<path> data_files;
CTOR(session_t, file_) {}