diff options
Diffstat (limited to 'model/new.go')
| -rw-r--r-- | model/new.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/model/new.go b/model/new.go index cddb404..8dd0ca4 100644 --- a/model/new.go +++ b/model/new.go @@ -4,6 +4,7 @@ import ( "errors" "io/fs" "path/filepath" + "pik/flags" "pik/identity" "strings" "sync" @@ -11,7 +12,9 @@ import ( func NewState(f fs.FS, locations []string, indexers []Indexer, runners []Runner) (*State, []error) { var errs []error - st := &State{} + st := &State{ + All: *flags.All, + } wg := sync.WaitGroup{} var sources = make([]*Source, len(locations), len(locations)) for i, loc := range locations { |
