mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-14 15:58:52 +01:00
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:
1 parent
f69356f589
commit
50df484d86
4 files changed
+1151
-3
No files matched your search
@@ -1,8 +1,8 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
flag "github.com/chrislusf/seaweedfs/weed/util/fla9"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -20,8 +20,8 @@ package glog
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
flag "github.com/chrislusf/seaweedfs/weed/util/fla9"
|
||||
"os"
|
||||
"os/user"
|
||||
"path/filepath"
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
+1
-1
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
flag "github.com/chrislusf/seaweedfs/weed/util/fla9"
|
||||
"io"
|
||||
"math/rand"
|
||||
"os"
|
||||
|
||||
Reference in new issue
Block a user