add -v --verify to transmission-remote's getopt handling

This commit is contained in:
Charles Kerr 2008-03-18 17:59:52 +00:00
parent 0de6757bdf
commit 549aa1679a
1 changed files with 2 additions and 1 deletions

View File

@ -261,6 +261,7 @@ usage( const char * msg, ... )
" -t --type mac Use the MacOS X frontend\n"
" -u --upload-limit <int> Max upload rate in KiB/s\n"
" -U --upload-unlimited No upload rate limit\n"
" -v --verify <hash> Verify the torrent's local data\n"
" -x --proxy Use proxy command to connect to frontend\n",
getmyname(), getmyname(), LONG_VERSION_STRING );
exit( 0 );
@ -269,7 +270,7 @@ usage( const char * msg, ... )
int
readargs( int argc, char ** argv, struct opts * opts )
{
char optstr[] = "a:c:d:DeEf:hilmMp:qr:s:S:t:u:Ux";
char optstr[] = "a:c:d:DeEf:hilmMp:qr:s:S:t:u:Uxv:";
struct option longopts[] =
{
{ "add", required_argument, NULL, 'a' },