Merge pull request #1823 from bingoohuang/master

feature: support command line arguments in a configuration file
This commit is contained in:
Chris Lu 2021-02-20 22:35:18 -08:00 committed by GitHub
commit 258e93bc86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1152 additions and 4 deletions

View file

@ -1,8 +1,8 @@
package command
import (
"flag"
"fmt"
flag "github.com/chrislusf/seaweedfs/weed/util/fla9"
"os"
"strings"
)

View file

@ -74,8 +74,8 @@ import (
"bufio"
"bytes"
"errors"
"flag"
"fmt"
flag "github.com/chrislusf/seaweedfs/weed/util/fla9"
"io"
stdLog "log"
"os"

View file

@ -20,8 +20,8 @@ package glog
import (
"errors"
"flag"
"fmt"
flag "github.com/chrislusf/seaweedfs/weed/util/fla9"
"os"
"os/user"
"path/filepath"

1148
weed/util/fla9/fla9.go Normal file

File diff suppressed because it is too large Load diff

View file

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