{ 976, "alt-speed-time-begin", "Time to start using the alt speed limits (in hhmm)", NULL, 1, "<time>" },
{ 977, "alt-speed-time-end", "Time to stop using the alt speed limits (in hhmm)", NULL, 1, "<time>" },
{ 978, "alt-speed-days", "Numbers for any/all days of the week - eg. \"1-7\"", NULL, 1, "<days>" },
+ { 'c', "incomplete-dir", "Where to store new torrents until they're complete", "c", 1, "<dir>" },
+ { 'C', "no-incomplete-dir", "Don't store incomplete torrents in a different location", "C", 0, NULL },
{ 'b', "debug", "Print debugging information", "b", 0, NULL },
{ 'd', "downlimit", "Set the maximum global download speed in KB/s", "d", 1, "<speed>" },
{ 'D', "no-downlimit", "Don't limit the global download speed", "D", 0, NULL },
addArg = FALSE;
break;
+ case 'c':
+ tr_bencDictAddStr( &top, "method", "session-set" );
+ tr_bencDictAddStr( args, TR_PREFS_KEY_INCOMPLETE_DIR, optarg );
+ tr_bencDictAddBool( args, TR_PREFS_KEY_INCOMPLETE_DIR_ENABLED, TRUE );
+ break;
+
+ case 'C':
+ tr_bencDictAddStr( &top, "method", "session-set" );
+ tr_bencDictAddBool( args, TR_PREFS_KEY_INCOMPLETE_DIR_ENABLED, FALSE );
+ break;
+
case 'd':
tr_bencDictAddStr( &top, "method", "session-set" );
tr_bencDictAddInt( args, TR_PREFS_KEY_DSPEED, numarg( optarg ) );
.Op Fl asc
.Op Fl ASC
.Op Fl b
+.Op Fl c Ar path | Fl C
.Op Fl d Ar number | Fl D
.Op Fl er | ep | et
.Op Fl f
Set the number of
.Ar days
on which to enable the speed scheduler, using a list such as "2,4-6".
+.It Fl c Fl -incomplete-dir Ar dir
+When adding new torrents, store their contents in
+.Ar directory
+until the torrent is done.
+.It Fl C Fl -no-incomplete-dir
+Don't store incomplete torrents in a different directory.
.It Fl d Fl -downlimit Ar limit
Limit the global download speed to
.Ar limit