support command line arguments in a configuration file so we can weed master -config=master.conf, weed volume -config=volume.conf and etc.

This commit is contained in:
bingoohuang
2021-02-20 16:52:57 +08:00
parent f69356f589
commit 50df484d86
4 changed files with 1151 additions and 3 deletions

View File

@@ -4,8 +4,8 @@
package main
import (
"flag"
"fmt"
flag "github.com/chrislusf/seaweedfs/weed/util/fla9"
"io"
"math/rand"
"os"