check pattern on startup

This commit is contained in:
2022-10-24 14:49:23 +02:00
parent 5e65726cb0
commit 5c42f7ab9a
4 changed files with 22 additions and 3 deletions

View File

@@ -73,6 +73,11 @@ func Execute() {
conf.CheckEnv()
conf.PrepareModeFlags(modeflag)
conf.PrepareSortFlags(sortmode)
if err := conf.PreparePattern(); err != nil {
return err
}
conf.ApplyDefaults()
// actual execution starts here