mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
default auto trimming suffix to true
This commit is contained in:
parent
60573fd3e2
commit
32e94de86a
|
@ -44,7 +44,7 @@ func (c *commandRemoteMountBuckets) Do(args []string, commandEnv *CommandEnv, wr
|
||||||
|
|
||||||
remote := remoteMountBucketsCommand.String("remote", "", "a already configured storage name")
|
remote := remoteMountBucketsCommand.String("remote", "", "a already configured storage name")
|
||||||
bucketPattern := remoteMountBucketsCommand.String("bucketPattern", "", "match existing bucket name with wildcard characters '*' and '?'")
|
bucketPattern := remoteMountBucketsCommand.String("bucketPattern", "", "match existing bucket name with wildcard characters '*' and '?'")
|
||||||
trimBucketSuffix := remoteMountBucketsCommand.Bool("trimBucketSuffix", false, "remote suffix auto generated by 'weed filer.remote.sync'")
|
trimBucketSuffix := remoteMountBucketsCommand.Bool("trimBucketSuffix", true, "remote suffix auto generated by 'weed filer.remote.sync'")
|
||||||
apply := remoteMountBucketsCommand.Bool("apply", false, "apply the mount for listed buckets")
|
apply := remoteMountBucketsCommand.Bool("apply", false, "apply the mount for listed buckets")
|
||||||
|
|
||||||
if err = remoteMountBucketsCommand.Parse(args); err != nil {
|
if err = remoteMountBucketsCommand.Parse(args); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue