mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-03 09:30:51 +00:00
Correct typos in command-line parsing
Also fix stray macOS references. References #869.
This commit is contained in:
parent
d9e89deef6
commit
3d225163f8
|
@ -57,7 +57,7 @@ Some systems provide pre-built packages:
|
||||||
Compilation and installation from sources
|
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).
|
If you want specific instructions for some distributions, check the [wiki](https://github.com/s3fs-fuse/s3fs-fuse/wiki/Installation-Notes).
|
||||||
|
|
||||||
|
|
|
@ -4319,7 +4319,7 @@ static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_ar
|
||||||
return 0;
|
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){
|
if(0 == mountpoint.size() && 0 == utility_mode){
|
||||||
// save the mountpoint and do some basic error checking
|
// save the mountpoint and do some basic error checking
|
||||||
mountpoint = arg;
|
mountpoint = arg;
|
||||||
|
@ -4359,9 +4359,9 @@ static int my_fuse_opt_proc(void* data, const char* arg, int key, struct fuse_ar
|
||||||
|
|
||||||
// Unknown option
|
// Unknown option
|
||||||
if(0 == utility_mode){
|
if(0 == utility_mode){
|
||||||
S3FS_PRN_EXIT("specified unknown third optioni(%s).", arg);
|
S3FS_PRN_EXIT("specified unknown third option(%s).", arg);
|
||||||
}else{
|
}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;
|
return -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user