@@ -337,7 +337,6 @@ struct sshfs {
337337 int sync_readdir ;
338338 int direct_io ;
339339 int debug ;
340- int verbose ;
341340 int foreground ;
342341 int reconnect ;
343342 int delay_connect ;
@@ -491,7 +490,6 @@ static struct fuse_opt sshfs_opts[] = {
491490 SSHFS_OPT ("no_readahead" , sync_read , 1 ),
492491 SSHFS_OPT ("sync_readdir" , sync_readdir , 1 ),
493492 SSHFS_OPT ("sshfs_debug" , debug , 1 ),
494- SSHFS_OPT ("sshfs_verbose" , verbose , 1 ),
495493 SSHFS_OPT ("reconnect" , reconnect , 1 ),
496494 SSHFS_OPT ("transform_symlinks" , transform_symlinks , 1 ),
497495 SSHFS_OPT ("follow_symlinks" , follow_symlinks , 1 ),
@@ -513,8 +511,6 @@ static struct fuse_opt sshfs_opts[] = {
513511 SSHFS_OPT ("--version" , show_version , 1 ),
514512 SSHFS_OPT ("-d" , debug , 1 ),
515513 SSHFS_OPT ("debug" , debug , 1 ),
516- SSHFS_OPT ("-v" , verbose , 1 ),
517- SSHFS_OPT ("verbose" , verbose , 1 ),
518514 SSHFS_OPT ("-f" , foreground , 1 ),
519515 SSHFS_OPT ("-s" , singlethread , 1 ),
520516
@@ -1176,7 +1172,7 @@ static int start_ssh(struct conn *conn)
11761172 perror ("failed to redirect input/output" );
11771173 _exit (1 );
11781174 }
1179- if (!sshfs .verbose && ! sshfs . foreground && devnull != -1 )
1175+ if (!sshfs .foreground && devnull != -1 )
11801176 dup2 (devnull , 2 );
11811177
11821178 close (devnull );
@@ -3672,7 +3668,6 @@ static void usage(const char *progname)
36723668" -o no_readahead synchronous reads (no speculative readahead)\n"
36733669" -o sync_readdir synchronous readdir\n"
36743670" -d, --debug print some debugging information (implies -f)\n"
3675- " -v, --verbose print ssh replies and messages\n"
36763671" -o dir_cache=BOOL enable caching of directory contents (names,\n"
36773672" attributes, symlink targets) {yes,no} (default: yes)\n"
36783673" -o dcache_max_size=N sets the maximum size of the directory cache (default: 10000)\n"
0 commit comments