Make help more consistent

This commit is contained in:
Andrew Gaul 2023-07-28 03:52:25 +09:00
parent 13ad53eef7
commit 7c2314e600

View File

@ -29,6 +29,7 @@
#include "common.h" #include "common.h"
#include "s3fs_cred.h" #include "s3fs_cred.h"
#include "s3fs_help.h"
#include "s3fs_logger.h" #include "s3fs_logger.h"
#include "curl.h" #include "curl.h"
#include "string_util.h" #include "string_util.h"
@ -1522,6 +1523,7 @@ bool S3fsCred::CheckForbiddenBucketParams()
// The first plain argument is the bucket // The first plain argument is the bucket
if(bucket_name.empty()){ if(bucket_name.empty()){
S3FS_PRN_EXIT("missing BUCKET argument."); S3FS_PRN_EXIT("missing BUCKET argument.");
show_usage();
return false; return false;
} }