cmd/stfindignored: Default to current directory

This commit is contained in:
Jakob Borg 2018-06-06 22:24:36 +02:00
parent d1f953b0dd
commit 02da7414ab
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ import (
func main() {
flag.Parse()
root := flag.Arg(0)
if root == "" {
root = "."
}
vfs := fs.NewWalkFilesystem(fs.NewFilesystem(fs.FilesystemTypeBasic, root))