} else if (strcmp(argv[i], "-be") == 0 && i + 1 < argc) {
} else if (strcmp(argv[i], "-be") == 0) {
int main(int argc, char *argv[]){    int i;    int portnumber = 0;    char *userhost, *user;    int mode = 0;    int modeflags = 0;    char *batchfile = NULL;    flags = FLAG_STDERR | FLAG_INTERACTIVE;    ssh_get_line = &get_line;    init_winsock();    sk_init();    userhost = user = NULL;    for (i = 1; i < argc; i++) {	if (argv[i][0] != '-') {	    if (userhost)		usage();	    else		userhost = dupstr(argv[i]);	} else if (strcmp(argv[i], "-v") == 0) {	    verbose = 1, flags |= FLAG_VERBOSE;	} else if (strcmp(argv[i], "-h") == 0 ||		   strcmp(argv[i], "-?") == 0) {	    usage();	} else if (strcmp(argv[i], "-l") == 0 && i + 1 < argc) {	    user = argv[++i];	} else if (strcmp(argv[i], "-P") == 0 && i + 1 < argc) {	    portnumber = atoi(argv[++i]);	} else if (strcmp(argv[i], "-pw") == 0 && i + 1 < argc) {	    password = argv[++i];	} else if (strcmp(argv[i], "-b") == 0 && i + 1 < argc) {	    mode = 1;	    batchfile = argv[++i];	} else if (strcmp(argv[i], "-bc") == 0 && i + 1 < argc) {	    modeflags = modeflags | 1;	} else if (strcmp(argv[i], "-be") == 0 && i + 1 < argc) {	    modeflags = modeflags | 2;	} else if (strcmp(argv[i], "--") == 0) {	    i++;	    break;	} else {	    usage();	}    }    argc -= i;    argv += i;    back = NULL;    /*     * If a user@host string has already been provided, connect to     * it now.     */    if (userhost) {	if (psftp_connect(userhost, user, portnumber))	    return 1;	do_sftp_init();    } else {	printf("psftp: no hostname specified; use \"open host.name\""	    " to connect\n");    }    do_sftp(mode, modeflags, batchfile);    if (back != NULL && back->socket() != NULL) {	char ch;	back->special(TS_EOF);	sftp_recvdata(&ch, 1);    }    WSACleanup();    random_save_seed();    return 0;}