diff --git a/cmd/stfindignored/main.go b/cmd/stfindignored/main.go index 27ea1c457..235ca0187 100644 --- a/cmd/stfindignored/main.go +++ b/cmd/stfindignored/main.go @@ -19,6 +19,9 @@ import ( func main() { flag.Parse() root := flag.Arg(0) + if root == "" { + root = "." + } vfs := fs.NewWalkFilesystem(fs.NewFilesystem(fs.FilesystemTypeBasic, root))