return 0;
return 1;
static int sftp_cmd_help(struct sftp_command *cmd){    int i;    if (cmd->nwords == 1) {	/*	 * Give short help on each command.	 */	int maxlen;	maxlen = 0;	for (i = 0; i < sizeof(sftp_lookup) / sizeof(*sftp_lookup); i++) {	    int len = strlen(sftp_lookup[i].name);	    if (maxlen < len)		maxlen = len;	}	for (i = 0; i < sizeof(sftp_lookup) / sizeof(*sftp_lookup); i++) {	    const struct sftp_cmd_lookup *lookup;	    lookup = &sftp_lookup[i];	    printf("%-*s", maxlen+2, lookup->name);	    if (lookup->longhelp == NULL)		lookup = lookup_command(lookup->shorthelp);	    printf("%s\n", lookup->shorthelp);	}    } else {	/*	 * Give long help on specific commands.	 */	for (i = 1; i < cmd->nwords; i++) {	    const struct sftp_cmd_lookup *lookup;	    lookup = lookup_command(cmd->words[i]);	    if (!lookup) {		printf("help: %s: command not found\n", cmd->words[i]);	    } else {		printf("%s", lookup->name);		if (lookup->longhelp == NULL)		    lookup = lookup_command(lookup->shorthelp);		printf("%s", lookup->longhelp);	    }	}    }    return 0;}