mirror of
https://github.com/transmission/transmission
synced 2025-03-10 06:02:57 +00:00
add -v --verify to transmission-remote's getopt handling
This commit is contained in:
parent
0de6757bdf
commit
549aa1679a
1 changed files with 2 additions and 1 deletions
|
@ -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' },
|
||||
|
|
Loading…
Add table
Reference in a new issue