Changeset 11523
- Timestamp:
- Dec 12, 2010, 6:12:58 PM (12 years ago)
- Location:
- trunk/daemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/remote.c
r11522 r11523 256 256 { 'M', "no-portmap", "Disable portmapping", "M", 0, NULL }, 257 257 { 'n', "auth", "Set username and password", "n", 1, "<user:pw>" }, 258 { 810, "authenv", "Set authentication info from the TR AUTH environment variable (user:pw)", "ne", 0, NULL },258 { 810, "authenv", "Set authentication info from the TR_AUTH environment variable (user:pw)", "ne", 0, NULL }, 259 259 { 'N', "netrc", "Set authentication info from a .netrc file", "N", 1, "<file>" }, 260 260 { 'o', "dht", "Enable distributed hash tables (DHT)", "o", 0, NULL }, … … 1828 1828 case 810: /* authenv */ 1829 1829 { 1830 char *authenv = getenv("TR AUTH");1830 char *authenv = getenv("TR_AUTH"); 1831 1831 if( !authenv ) { 1832 fprintf( stderr, "The TR AUTH environment variable is not set\n" );1832 fprintf( stderr, "The TR_AUTH environment variable is not set\n" ); 1833 1833 exit( 0 ); 1834 1834 } -
trunk/daemon/transmission-remote.1
r11521 r11523 175 175 .It Fl ne Fl -authenv 176 176 Set the authentication information from the 177 .Ar TR AUTH177 .Ar TR_AUTH 178 178 environment variable which must be formatted as 179 179 .Ar username:password.
Note: See TracChangeset
for help on using the changeset viewer.