default auto trimming suffix to true
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user