cmd/stfindignored: Default to current directory

This commit is contained in:
Jakob Borg committed 2018-06-06 22:24:36 +02:00
1 parent d1f953b0dd
commit 02da7414ab
1 file changed
+3
+3
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))