Make help more consistent (#2251)

This commit is contained in:
Andrew Gaul 2023-08-06 22:25:10 +09:00 committed by GitHub
parent 26b5658d70
commit 779afe5d62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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