Changeset 10646
- Timestamp:
- May 15, 2010, 1:46:46 PM (12 years ago)
- Location:
- trunk/daemon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/daemon.c
r10635 r10646 86 86 { 'o', "dht", "Enable distributed hash tables (DHT)", "o", 0, NULL }, 87 87 { 'O', "no-dht", "Disable distributed hash tables (DHT)", "O", 0, NULL }, 88 { ' z', "lds", "Enable local peer discovery (LPD)", "z", 0, NULL },89 { ' Z', "no-lds", "Disable local peer discovery (LPD)", "Z", 0, NULL },88 { 'y', "lpd", "Enable local peer discovery (LPD)", "y", 0, NULL }, 89 { 'Y', "no-lpd", "Disable local peer discovery (LPD)", "Y", 0, NULL }, 90 90 { 'P', "peerport", "Port for incoming peers (Default: " TR_DEFAULT_PEER_PORT_STR ")", "P", 1, "<port>" }, 91 91 { 'm', "portmap", "Enable portmapping via NAT-PMP or UPnP", "m", 0, NULL }, … … 409 409 tr_bencDictAddBool( &settings, TR_PREFS_KEY_RATIO_ENABLED, FALSE ); 410 410 break; 411 case ' z': tr_bencDictAddBool( &settings, TR_PREFS_KEY_LPD_ENABLED, TRUE );412 break; 413 case ' Z': tr_bencDictAddBool( &settings, TR_PREFS_KEY_LPD_ENABLED, FALSE );411 case 'y': tr_bencDictAddBool( &settings, TR_PREFS_KEY_LPD_ENABLED, TRUE ); 412 break; 413 case 'Y': tr_bencDictAddBool( &settings, TR_PREFS_KEY_LPD_ENABLED, FALSE ); 414 414 break; 415 415 default: showUsage( ); -
trunk/daemon/remote.c
r10640 r10646 258 258 { 'x', "pex", "Enable peer exchange (PEX)", "x", 0, NULL }, 259 259 { 'X', "no-pex", "Disable peer exchange (PEX)", "X", 0, NULL }, 260 { ' z', "lds", "Enable local peer discovery (LPD)", "z", 0, NULL },261 { ' Z', "no-lds", "Disable local peer discovery (LPD)", "Z", 0, NULL },260 { 'y', "lpd", "Enable local peer discovery (LPD)", "y", 0, NULL }, 261 { 'Y', "no-lpd", "Disable local peer discovery (LPD)", "Y", 0, NULL }, 262 262 { 940, "peer-info", "List the current torrent(s)' peers", "pi", 0, NULL }, 263 263 { 0, NULL, NULL, NULL, 0, NULL } … … 328 328 case 'x': /* pex */ 329 329 case 'X': /* no-pex */ 330 case ' z': /* lds*/331 case ' Z': /* no-lds*/330 case 'y': /* lpd */ 331 case 'Y': /* no-lpd */ 332 332 case 800: /* torrent-done-script */ 333 333 case 801: /* no-torrent-done-script */ … … 1833 1833 case 'X': tr_bencDictAddBool( args, TR_PREFS_KEY_PEX_ENABLED, FALSE ); 1834 1834 break; 1835 case ' z': tr_bencDictAddBool( args, TR_PREFS_KEY_LPD_ENABLED, TRUE );1836 break; 1837 case ' Z': tr_bencDictAddBool( args, TR_PREFS_KEY_LPD_ENABLED, FALSE );1835 case 'y': tr_bencDictAddBool( args, TR_PREFS_KEY_LPD_ENABLED, TRUE ); 1836 break; 1837 case 'Y': tr_bencDictAddBool( args, TR_PREFS_KEY_LPD_ENABLED, FALSE ); 1838 1838 break; 1839 1839 case 953: tr_bencDictAddReal( args, "seedRatioLimit", atof(optarg) ); -
trunk/daemon/transmission-remote.1
r10640 r10646 56 56 .Op Fl w Ar download-dir 57 57 .Op Fl x | X 58 .Op Fl z | Z58 .Op Fl y | Y 59 59 .Op Fl pi 60 60 .Ek … … 254 254 .It Fl X Fl -no-pex 255 255 Disable peer exchange (PEX). 256 .It Fl zFl -lds256 .It Fl y Fl -lds 257 257 Enable local peer discovery (LPD). 258 .It Fl ZFl -no-lds258 .It Fl Y Fl -no-lds 259 259 Disable local peer discovery (LPD). 260 260 .It Fl pi Fl -peer-info
Note: See TracChangeset
for help on using the changeset viewer.