From 3d225163f8b37093cd5ccfe4f74a963155837ea3 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Thu, 6 Dec 2018 22:19:54 -0800 Subject: [PATCH] Correct typos in command-line parsing Also fix stray macOS references. References #869. --- README.md | 2 +- src/s3fs.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 005895a..7904a06 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Some systems provide pre-built packages: Compilation and installation from sources ----------------------------------------- -These are generic instructions to compile from the master branch, and should work on almost any GNU/Linux, Mac OS, BSD or similar. +These are generic instructions to compile from the master branch, and should work on almost any GNU/Linux, macOS, BSD, or similar. If you want specific instructions for some distributions, check the [wiki](https://github.com/s3fs-fuse/s3fs-fuse/wiki/Installation-Notes). diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 5a8dc11..f96f857 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -4319,7 +4319,7 @@ static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_ar return 0; } - // the second NONPOT option is the mountpoint(not utility mode) + // the second NONOPT option is the mountpoint(not utility mode) if(0 == mountpoint.size() && 0 == utility_mode){ // save the mountpoint and do some basic error checking mountpoint = arg; @@ -4359,9 +4359,9 @@ static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_ar // Unknown option if(0 == utility_mode){ - S3FS_PRN_EXIT("specified unknown third optioni(%s).", arg); + S3FS_PRN_EXIT("specified unknown third option(%s).", arg); }else{ - S3FS_PRN_EXIT("specified unknown second optioni(%s). you don't need to specify second option(mountpoint) for utility mode(-u).", arg); + S3FS_PRN_EXIT("specified unknown second option(%s). you don't need to specify second option(mountpoint) for utility mode(-u).", arg); } return -1;