mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 08:48:55 +00:00
Merge pull request #870 from gaul/typos
Correct typos in command-line parsing
This commit is contained in:
commit
56e24de0d4
@ -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).
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user