dll: fuse: remove extraneous newlines in log messages

This commit is contained in:
Bill Zissimopoulos 2016-06-01 17:50:02 -07:00
parent da95f05b29
commit 8b8c567cf7
2 changed files with 4 additions and 6 deletions

View File

@ -258,8 +258,7 @@ static int fsp_fuse_core_opt_proc(void *opt_data0, const char *arg, int key,
" -o ReparsePoints file system supports reparse points\n" " -o ReparsePoints file system supports reparse points\n"
" -o NamedStreams file system supports named streams\n" " -o NamedStreams file system supports named streams\n"
" -o ReadOnlyVolume file system is read only\n" " -o ReadOnlyVolume file system is read only\n"
" --UNC=U --VolumePrefix=U UNC prefix (\\Server\\Share)\n" " --UNC=U --VolumePrefix=U UNC prefix (\\Server\\Share)\n");
"\n");
opt_data->help = 1; opt_data->help = 1;
return 1; return 1;
case 'V': case 'V':

View File

@ -51,14 +51,12 @@ static int fsp_fuse_main_opt_proc(void *opt_data0, const char *arg, int key,
"\n" "\n"
" -o opt,[opt...] mount options\n" " -o opt,[opt...] mount options\n"
" -h --help print help\n" " -h --help print help\n"
" -V --version print version\n" " -V --version print version\n";
"\n";
static PWSTR MainHelp = L"" static PWSTR MainHelp = L""
"FUSE options:\n" "FUSE options:\n"
" -d -o debug enable debug output (implies -f)\n" " -d -o debug enable debug output (implies -f)\n"
" -f foreground operation\n" " -f foreground operation\n"
" -s disable multi-threaded operation\n" " -s disable multi-threaded operation\n";
"\n";
struct fsp_fuse_main_opt_data *opt_data = opt_data0; struct fsp_fuse_main_opt_data *opt_data = opt_data0;
switch (key) switch (key)
@ -69,6 +67,7 @@ static int fsp_fuse_main_opt_proc(void *opt_data0, const char *arg, int key,
FspServiceLog(EVENTLOG_ERROR_TYPE, L"" FspServiceLog(EVENTLOG_ERROR_TYPE, L""
"usage: %s mountpoint [options]\n" "usage: %s mountpoint [options]\n"
"%s" "%s"
"\n"
"%s", "%s",
FspDiagIdent(), HeaderHelp, MainHelp); FspDiagIdent(), HeaderHelp, MainHelp);
return 1; return 1;