parent
b3f321b38a
commit
8c24dfdb86
|
@ -57,10 +57,8 @@ var cfg = struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
flag.CommandLine.Init(os.Args[0], flag.ContinueOnError)
|
cfg.fs = flag.NewFlagSet(os.Args[0], flag.ContinueOnError)
|
||||||
flag.CommandLine.Usage = usage
|
cfg.fs.Usage = usage
|
||||||
|
|
||||||
cfg.fs = flag.CommandLine
|
|
||||||
|
|
||||||
// Set additional defaults.
|
// Set additional defaults.
|
||||||
cfg.storage.SyncStrategy = local.Adaptive
|
cfg.storage.SyncStrategy = local.Adaptive
|
||||||
|
|
Loading…
Reference in New Issue