Changeset 4908


Ignore:
Timestamp:
Feb 3, 2008, 7:03:39 AM (14 years ago)
Author:
charles
Message:

(1.0x) #670 "transmission-remote -x (core dumped)" patch by joshe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0x/daemon/remote.c

    r4549 r4908  
    226226
    227227    printf(
    228   "usage: %s [options]\n"
     228  "usage: %s [options] [files...]\n"
     229  "       %s -x [options] proxy-command [args...]\n"
    229230  "\n"
    230231  "Transmission %s http://www.transmissionbt.com/\n"
     
    258259  "  -U --upload-unlimited     No upload rate limit\n"
    259260  "  -x --proxy                Use proxy command to connect to frontend\n",
    260             getmyname(), LONG_VERSION_STRING );
     261            getmyname(), getmyname(), LONG_VERSION_STRING );
    261262    exit( 0 );
    262263}
     
    412413            case 'x':
    413414                opts->proxy     = 1;
    414                 break;
     415                continue; /* don't set gotmsg, -x isn't a message */
    415416            default:
    416417                usage( NULL );
     
    427428    if( opts->proxy )
    428429    {
     430        if( argc == optind )
     431            usage( "can't use -x without any arguments" );
    429432        opts->proxycmd = argv + optind;
    430433    }
Note: See TracChangeset for help on using the changeset viewer.